AssociationCategories Element (Workflow)

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.

Specifies the categories of list and content types to which you can associate this workflow.

<AssocationCategories/>
</AssociationCatagories>

Attributes

Attribute

Description

None

Child Elements

None.

Parent Elements

MetaData Element (Workflow)

Occurrences

Minimum: 0

Maximum: 1

Remarks

Windows SharePoint Services uses the categories specified in this element to display only the appropriate workflows for a list or content type. 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 can be associated to any list or content type.

  • "List;" + featureID + ";" + listID   The workflow can be associated with a specific list type, defined in the specified feature. For example:

    List;29d85c25-170c-4df9-a641-12db0b9d4130;1300

  • "ContentType;" +contentTypeID   The workflow can be associated with a specific content type. For example:

    ContentType;0x01010029d85c25-170c-4df9-a641-12db0b9d4130

Example

The following example specifies that the workflow can be associated with lists of list type 1300, which is defined in feature 29d85c25-170c-4df9-a641-12db0b9d4130.

<MetaData>
  <AssociationCategories>List;29d85c25-170c-4df9-a641-12db0b9d4130;1300</AssociationCategories>
</MetaData>

See Also

Concepts

Workflow Deployment Using Features

Workflow Definition Schema

Other Resources

Workflows in Windows SharePoint Services