Workflow configuration schema reference

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

The workflow configuration file contains the information necessary to create a workflow template in SharePoint Foundation from the specified workflow markup and rules files, and to associate it to a specific list. Information included in the workflow configuration file includes:

  • The workflow markup and rules files to use, including the appropriate version of those files to use.

  • The list to which the workflow should be associated.

  • The task list and history list for the workflow to use.

  • Conditions under which the workflow starts.

  • Workflow initiation form location, data fields, and default values.

The workflow configuration file is specified as a parameter for the following methods of the websvcWebPartPages Web Service. These methods enable Microsoft SharePoint Designer 2010 to create declarative workflow templates and associate those workflow templates with SharePoint Foundation 2010 lists.

  • ValidateWorkflowMarkupAndCreateSupportObjects(String, String, String, String)

    Use this method to validate the workflow markup of a declarative workflow, and optionally, to create the support objects necessary for that workflow to run.

  • AssociateWorkflowMarkup(String, String)

    Use this method to create a workflow template, and associate that workflow template with the specified SharePoint list.

For more information about creating workflow editors, see Creating Declarative, No-Code Workflow Editors.

The workflow configuration schema contains the following elements:


Elements have been edited for readability.


        XomlHref="Workflows/Notify Me/Notify Me.xoml"
        RulesHref="Workflows/Notify Me/Notify Me.xoml.rules"
          Name="Review New Document" 
          Form="/Workflows/Notify Me/Review New Document.aspx" 
          Description="Workflow used to review new documents">
        URL="Workflows/Notify Me/Notify Me.aspx">
            DisplayName="Reason for Review" 
            <Default>Standard review of new documents</Default>
          <Parameter Name="Reason_for_Review" Type="System.String" />

See also