Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Submit for Approval menu option errors with custom workflow

  Asked By: Faith Scott         Date: Feb 26, 2010      Category: Sharepoint      Views: 739
 

I have written a custom workflow with asp.net pages. My problem
occurs when users click on the "Submit for Approval" menu option. It
goes to go to IniWrkfIIP.aspx and displays the following error: The
workflow template has specified no FormURN for this page. I have set
an instantiationurl for my aspx page in the workflow.xml. If I click
the workflows drop down and select submit for approval from there, it
goes to my page. Has anyone else had this issue? If so, how did you
resolve it?

Tagged:                  

 

3 Answers Found

 
Answer #1       Answered By: Fidel Crane          Answered On: Feb 26, 2010       

If its asking for a formURN then I think it is looking for an InfoPath form
instead of an aspx  form. Double check your workflow  feature. I think its still
set for Infopath.

 
Answer #2       Answered By: Akshara Sanghavi          Answered On: Feb 26, 2010       

How do I set it for aspx pages  instead of infopath?

 
Answer #3       Answered By: Aishwarya Dixit          Answered On: Feb 26, 2010       

Does anyone know the answer to how to make sure my workflow  isn't
setup for infopath?

Below is a copy of my workflow.xml

<?xml version="1.0" encoding="utf-8" ?>

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Workflow
Name="Escalation Workflow"
Description="Escalation Workflow"
Id="b4030436-861d-43ea-84e3-b118dfaa5a89"
CodeBesideClass="NewsWorkflow.EscalationWorkflow"
CodeBesideAssembly="NewsWorkflow, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=8aa9337add8f243e"

TaskListContentTypeId="0x01080100C9C9515DE4E24001905074F980F93160"
AssociationUrl="_layouts/EscalationWorkflow/AssocForm.aspx"
InstantiationUrl="_layouts/EscalationWorkflow/InitForm.aspx">
<Categories/>
<MetaData>


<InitiationType>Manual;#OnNewItem;#OnItemUpdate;#OnMajorCheckIn</Initi
ationType>

<StatusPageUrl>_layouts/WrkStat.aspx</StatusPageUrl>

</MetaData>
</Workflow>
</Elements>

 


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].