共用方式為


Workflow Definitions

Applies to: SharePoint Foundation 2010

Each element manifest that defines a workflow must adhere to the Workflow Definition Schema. A workflow definition is an XML file that contains the information that SharePoint Foundation requires to instantiate and run the workflow, such as the following:

  • The name, GUID, and description of the workflow

  • The URLs of any custom forms used in this workflow

  • The names of the workflow assembly, and the class within that assembly to call

  • Optionally, any custom metadata the workflow requires to run

The structure of the workflow definition schema is as follows:

<Elements Element (Workflow)>

   <Workflow Element (Elements)>

      <Categories Element (Workflow)>

      <AssociationData Element (Workflow)>

      <MetaData Element (Workflow)>

         <InitiationType Element (Workflow)>

         <Modification_GUID_Name Element (Workflow)>

         <StatusPageUrl Element (Workflow)>

         <ExtendedStatusColumnValues Element (Workflow)>

            <StatusColumnValue Element (Workflow)>

See Also

Concepts

Workflow Deployment Using Features