Configuring Assignees for a Task Assignment
You can specify one or more assignees for a task; when task assignment is triggered in the run-time environment, the task will be assigned to all assignees listed here. You can create two or more task assignments, and place them in different task control sets; this enables you to select different assignee lists for different task implementations in the run-time environment. For more information about task control sets, see
Working with Task Control Sets.
Note:
You can also create and modify task assignments by defining a task event and configuring it to include the
Assign to Users task action. When the event is triggered, the task assignments are modified according to the task action definition. For more information, see
Creating a Task Event and
Configuring Simple Task Actions.
To configure assignees for a task assignment
1. Open the task in the task editor by double-clicking the task in the Solutions view.
2. Click the Assignments tab of the task editor and click the assignment you want to work with in the Assignments list, or double-click the assignment in the Assignments area on the Overview tab.
3. Expand the Assignee area if it is not already visible.
4. Click the Add button in the Assignee area. The Assignment Target Selection dialog box appears.
5. In the list on the left, click the type of assignee you want to define:
Role — Use this entry if you want to choose from a list of existing roles on a connected
My webMethods server. Click the browse button to select a role.
Note:
You can add My webMethods Server roles by dragging them from the MWS Admin view and dropping them into the Assignee list.
Role UID — User this entry to type the name of the
My webMethods Server role or click the browse button to select a role definition from the task business data. Use this method if the role does not yet exist on
My webMethods Server.
User UID — Use this entry to type the name of a
My webMethods Server user, or click the browse button to select a user definition from the task business data or a task info field.
Note:
Do not specify a security role that has been configured for binding a functional privilege to a control. Use only security roles that are linked to My webMethods Server roles.
Group UID — Use this entry to type the name of a
My webMethods Server user, or click the browse button to select a group definition from the task business data or a task info field.
Service — Use this entry if you want to specify a service that produces a list of roles, user names, user IDs, or URI's as the output result. Click the browse button to select the "Output Results" item of a service (these services must be previously defined in (added to) the Bindings view).
6. Click OK.
7. Repeat steps 4-6 to add additional assignees.
8. Save the task.
Related Topics