Workflow Action Events

See Also

The following events are available for workflow actions. Use the Workflow Process Design tab to associate actions with workflow states. These events are fired when the corresponding action takes place.

Event Description
OnTransition Transitions an item from one state in the workflow process to another. Triggered by a state change.
OnCreate Creates a new item in a given state. Triggered by a New command.
OnChange Updates an item to a given state without any state transition. Triggered by a row update command.
OnDelete Deletes an item in a given state. Triggered by a row delete command.
OnTimeout Performs an action based on the passage of time. (For example, if an item remains at a certain state for more than a specified length of time, an action can be triggered to mark that item as overdue.) Triggered by the SQL Server agent that runs stored procedure.

Note   This is a server-based event; therefore, it will not run while the team solution is offline.

OnExit Triggered if transitioning from a given state regardless of the next state of the transition.
OnEnter Triggered when transitioning into a given state regardless of the previous state in the transition.