Workflow without Association and Instantiation Forms

Hi,

I`d like to make a workflow without Association and Instantiation IP Forms but I have a IP form when the user to approve or reject the task.

When I remove those red lines:

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Workflow
Name="Sample: State Machine Approval"
Description="Simple workflow that waits for an initial and final approver to sign off and goes back to the author for revision if rejected."
Id="48500BEB-D1BE-4ec4-8D21-5DEF76BEEDDD"
CodeBesideClass="Microsoft.Office.Samples.ECM.Workflow.SPSMWorkflow"
CodeBesideAssembly="Microsoft.Office.Samples.ECM.Workflow.StateMachineApproval, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ec457ebe7d96977c"
TaskListContentTypeId="0x01080100C9C9515DE4E24001905074F980F93160"
AssociationUrl="_layouts/CstWrkflIP.aspx"
InstantiationUrl="_layouts/IniWrkflIP.aspx"
ModificationUrl="_layouts/ModWrkflIP.aspx"
>

<Categories/>
<!-- Tags to specify InfoPath forms for the workflow; delete tags for forms that you do not have -->
<MetaData>
<Instantiation_FormURN>urn:schemas-microsoft-com:office:infopath:SMWorkflowDemoStartForm:-myXSD-2006-05-21T19-13-08</Instantiation_FormURN>
<Association_FormURN>urn:schemas-microsoft-com:office:infopath:SMWorkflowDemoStartForm:-myXSD-2006-05-21T19-13-08</Association_FormURN>
<Task0_FormURN>urn:schemas-microsoft-com:office:infopath:SMWorkflowDemoApproveForm:-myXSD-2006-04-27T03-00-28</Task0_FormURN>
<Task1_FormURN>urn:schemas-microsoft-com:office:infopath:SMWorkflowDemoReviseForm:-myXSD-2006-04-27T03-11-15</Task1_FormURN>
<Task2_FormURN>urn:schemas-microsoft-com:office:infopath:SMWorkflowDemoApproveForm:-myXSD-2006-04-27T03-00-28</Task2_FormURN>

<StatusPageUrl>_layouts/WrkStat.aspx</StatusPageUrl>
</MetaData>
</Workflow>
</Elements>

My workflow stop and show a error "Error Ocurred".

In OnWorkflowActivated I removed the handler.

Help me please

Thanks

Att




Answer this question

Workflow without Association and Instantiation Forms

  • Rajat Talwar

    Have you checked the Logs directory for more detail Have you removed the workflow code that tries to feed data to your instantiation form (which no longer is associated with the workflow)

    Have you tried removing them one at a time and seeing if there is one that causes the workflow to break

  • Workflow without Association and Instantiation Forms