Working with Task Events
You can define the behavior of a task when certain task event types occur by configuring one or more task events. With each task event you configure, you specify:
The event type that will trigger an action (for example, the task is updated or completed).
Any conditions that you want to apply to the event type (for example, the presence of certain business data values).
The type of action you want to occur, such as set the task priority, or send an e-mail notification.
You can create two or more task events and place them in different control sets; this enables you to select different events and conditional behavior for different task implementations in the run-time environment. For more information about control sets, see
Working with Task Control Sets.
Performance Tip
Quite often, task events are used to trigger an action that updates the task. In this case, each event is a relatively large transaction and it is much more efficient to create multiple update actions inside a single event whenever possible.
For example, you might need to update several pieces of business data for a task when it is queued from a process. If you need to update more than a single property, avoid creating multiple task events, and instead create a single task event with several Set Business Data Field actions within it.
Related Topics