Working with Task Control Sets
You can define one or more control sets that are associated with a task, although there is not a requirement for a task to have a control set. Control sets are designed to enable you to create different combinations of assignments and events that can be selected for different implementations of a task.
For example, suppose you have the following scenario:
You receive incoming orders from two differently branded web sites.
The basic tasks of the order handling process itself are the same after the order is entered.
The assignees and actions for each task vary depending on the originating web site.
To address this scenario, you can configure a task that defines the basic order handling user interface and behavior, and then you can define a separate control set for each set of assignees and events.
When the task is integrated into a process, you can specify which control set applies to the task when it runs within that particular process. This enables you to create "basic" tasks and then add control sets that adapt them for specific usages.
Each assignment and event you create can be added to a control set; you can define as many control sets as necessary, containing any combination of assignments and/or events.
An assignment or event can belong to only one control set. If you want the same assignment or event behavior in more than one control set, you must create a new assignment or event that copies the behavior of the original and associate it with another control set.
When an assignment or event belongs to no control set, it is always executed when the task is invoked. If you want an assignment or event to always apply when the task is invoked, do not assign it to a control set (as opposed to duplicating it in all control sets).
If no control sets are defined, then all of the task's assignments and events are executed whenever the task is invoked.
For information on how to specify a control set when adding a task to a process, see webMethods BPM Process Development Help.
Related Topics