This assumes you are creating a SharePoint 2007 state machine workflow in Visual Studio.
If you ever need a workflow to start, but don't want it to have an association or initiation form, you have to do two things, both of which are in workflow.xml:
1. In the Workflow element, do not specify an AssociationUrl (for the association form) or InstantiationUrl (for the initiation form). Just leave it out of the element completely! You may want to do the same thing if you have no modification form.
The attributes indicate the web forms that will host the association and initiation forms. By default, they look like AssociationUrl="_layouts/CstWrkflIP.aspx" and InstantiationUrl="_layouts/IniWrkflIP.aspx".
2. In the MetaData element, be sure Association_FormURN and Instantiation_FormURN are commented out.
Thursday, September 22, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment