Workflow Configuration Schema Overview

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The workflow configuration file contains the information necessary to create a workflow template in Windows SharePoint Services from the specified workflow markup and rules files, and to associate it to a specific SharePoint 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 SharePoint 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 declarative rules-based, code-free workflow editors, such as Office SharePoint Designer 2007, to create declarative workflow templates in Windows SharePoint Services and associate those workflow templates with SharePoint lists.

  • ValidateWorkflowMarkupAndCreateSupportObjects

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

  • AssociateWorkflowMarkup

    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:

<WorkflowConfig Element>

   <Template Element (WorkflowConfig)>

   <Association Element (WorkflowConfig)>

   <ContentTypes Element (WorkflowConfig)>

      <ContentType Element (WorkflowConfig)>

   <Initiation Element (WorkflowConfig)>

      <Fields Element (WorkflowConfig)>

      <Parameters Element (WorkflowConfig)>

         <Parameter Element (WorkflowConfig)>



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


Workflow Development for Windows SharePoint Services

Creating Declarative, No-Code Workflow Editors

Office SharePoint Designer 2007 Overview