Share via


Workflow Action Events

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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.