Export (0) Print
Expand All

InitiationType Element (Workflow)

Windows SharePoint Services 3

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 which events are enabled, at workflow association, to initiate the workflow.


<InitiationType>
</InitiationType>

Attribute

Description

None

Minimum: 0

Maximum: 1

The InitiationType element takes any of the following values:

  • Manual   Users can manually initiate the workflow.

  • OnNewItem   The workflow is initiated automatically when a user creates a new item.

  • OnItemUpdate   The workflow is initiated automatically when a user updates an item, including updating item metadata.

  • OnMajorCheckin   The workflow initiates when the user attempts to approve publishing a major version of an item.

Specify the initiation types as a character-delimited string, using ";#" as the delimiting characters.

If you do not specify an InitiationType element, Windows SharePoint Services treats the workflow as if the Manual, OnNewItem, and OnItemUpdate values have been specified.

The following example specifies that the workflow can be initiated manually, and is initiated automatically when a user creates an item, updates an item, or checks in a major version of an item.

<InitiationType>Manual;#OnNewItem;#OnItemUpdate;#OnMajorCheckIn</InitiationType>
Show:
© 2014 Microsoft