InitiationCategories Element (Workflow)

Applies to: SharePoint Foundation 2010

Specifies the categories of applications in which users can initiate this workflow.

<InitiationCategories/>
</InitiationCatagories>

Attributes

Attribute

Description

None

Child Elements

None.

Parent Elements

MetaData Element (Workflow)

Occurrences

Minimum: 0

Maximum: 1

Remarks

Microsoft SharePoint Foundation 2010 uses the categories specified in this element to display only the appropriate workflows for an application. Specify association categories as a character-delimited list, using the characters ";#" as delimiters. Each category can be up to 256 characters in length.

Valid values include the following:

  • General   This workflow is available for initiation in any application, including the SharePoint Foundation Web interface.

  • WebClientInit   This workflow can be initiated only through the SharePoint Foundation Web interface.

  • "OtherClientInit;" + progID   This workflow can be initiated only through the application whose program ID is specified.

Example

The following example specifies that the workflow can only be initiated through the SharePoint Foundation Web interface.

<MetaData>
  <InitiationCategories>WebClientInit</InitiationCategories>
</MetaData>

See Also

Concepts

Workflow Deployment Using Features

Workflow Definitions

Other Resources

Workflows in SharePoint Foundation