Association_FormURN Element (Workflow)
Applies to: SharePoint Server 2010
In this article
Attributes
Child Elements
Parent Elements
Occurrences
Specifies the URN of the Microsoft InfoPath 2010 form to be used for associating the workflow.
<Association_FormURN>
</Association_FormURN>
Attributes
Attribute |
Description |
---|---|
None |
Child Elements
None. |
Parent Elements
MetaData |
Occurrences
Minimum: 0 Maximum: 1 |
Remarks
To specify an InfoPath 2010 form as the workflow association form, you must first set the value of the AssociationURL attribute of the Workflow element to the following value:
AssociationUrl="_layouts/CstWrkflIP.aspx"
This is an .aspx page, provided with Microsoft SharePoint Server 2010, that includes an Office Forms Services Web Part to host the InfoPath 2010 workflow association form.
To use the same form for instantiation and association of the workflow, set both elements to that form.
You can also use the AssociationData element to specify any XML input that you want to pass to the workflow association form.
For more information about using an InfoPath form for a workflow association form, see Workflow Association and Initialization Forms in SharePoint Server 2010 (ECM).
Example
The following example specifies a custom InfoPath 2010 workflow association form.
<MetaData>
<Association_FormURN>urn:schemas-adventureworks-com:workflow:ReviewRouting-Assoc</Association_FormURN>
…
</MetaData>
See Also
Concepts
Workflows in SharePoint Server 2010 (ECM)