Using Microsoft InfoPath 2010 Forms for Workflows (ECM)
Applies to: SharePoint Server 2010
To specify the Microsoft InfoPath 2010 forms you want to use with your workflow, you add custom elements to the Metadata element in the workflow definition. (For more information about the workflow definition, and definitions for the standard elements it contains, see Workflow Definitions in the Microsoft SharePoint 2010 Software Development Kit (SDK)
To specify an InfoPath workflow association form, use the Association_FormURN Element (Workflow) element.
To specify an InfoPath workflow initiation form, use the Instantiation_FormURN Element (Workflow) - ECM element.
To specify an InfoPath workflow task edit form, use the TaskID_FormURN Element (Workflow) - ECM element.
To specify an InfoPath workflow modification form, use the Modification_GUID_FormURN Element (Workflow) - ECM element. To specify data to be passed to all modification forms as they are displayed, use the Modification_Format element.
Following is the structure of the workflow definition:
<Elements>
<Workflow>
<Categories/>
<AssociationData>
<MetaData>
<Association_FormURN>
<Instantiation_FormURN>
<InitiationType>
<TaskID_FormURN>
<ModificationGUID_Form>
<Modification_GUID_Name>
<Modification_Format>
<StatusPageUrl>
<InitiationType>
<ExtendedStatusColumnValues>
<StatusColumnValue>