Workflow Definition Schema for InfoPath FormsĀ 

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

To specify the InfoPath forms you want to use with your workflow, you add additional elements to the Metadata element in the workflow definition.

For more information on the workflow definition schema, see Workflow Definition Schema Overview in the Microsoft Windows SharePoint Services 3.0 SDK.

Below is a list of the elements you use to specify InfoPath forms for workflow instantiation, association, modification, and task editing.

Association_FormURN

Represents the URN of the association form for the workflow. For example:

<Association_FormURN>urn:schemas-microsoft-
    com:office:infopath:workflow:ReviewRouting-Assoc:1033
</Association_FormURN>

For Microsoft Office SharePoint Server 2007 to use this form, you must also set the value of the Association_URL element to "_layouts/CstWrkflIP.aspx".

If you want 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 the XML input passed to the workflow association form.

For more information, see Workflow Association and Initialization Forms (Office SharePoint Server 2007).

Instantiation_FormURN

Represents the URN of the initiation form for the workflow. For example:

<Instantiation_FormURN>urn:schemas-microsoft-
    com:office:infopath:workflow:ReviewRouting-Init:1033
</Instantiation_FormURN> 

For Microsoft Office SharePoint Server 2007 to use this form, you must also set the value of the Instantiation_URL element to "_layouts/IniWrkflIP.aspx".

For more information, see Workflow Association and Initialization Forms (Office SharePoint Server 2007).

Modification_ GUID _FormURN

Represents the URN of the form used to modify a running workflow, where GUID represents the actual GUID value. The GUID value is defined by the workflow. For example:

<Modification_af71f77b-e6c8-483a-acbf-30b4a84bd209_FormURN>
  urn:schemas-microsoft-com:office:infopath:workflow:ReviewRouting-Modify:1033
</Modification_af71f77b-e6c8-483a-acbf-30b4a84bd209_FormURN>

You can also use the Modification_GUID_Name element to specify the name of the modification. Microsoft Windows SharePoint Services (version 3) displays this name as the link text for the modification link on the workflow status page.

For more information, see Workflow Modification Forms (Office SharePoint Server 2007).

Task N _FormURN

Represents the URN to the edit task form, where N represents the task type. For example, for tasks of task type 0, the element is named "Task0_FormURN."

For Microsoft Office SharePoint Server 2007 to use this form, you must set additional elements in the workflow definition, as well as the content type definitions for this task. For more information, see Workflow Task Forms (Office SharePoint Server 2007).

See Also

Concepts

Workflows in Office SharePoint Server 2007
InfoPath Forms for Workflows
Workflow Association and Initialization Forms (Office SharePoint Server 2007)
Workflow Modification Forms (Office SharePoint Server 2007)
Workflow Task Forms (Office SharePoint Server 2007)
Workflow Template Schema Example (Office SharePoint Server 2007)