You are viewing the documentation for Blueriq 15. Documentation for other versions is available in our documentation directory.
Assign tasks
This type of service is used to assign the active task to a specific user, team and/or role. To assign that task the attribute that contains the userID, name of the team and/or the name of the role has to be specified.
Parameters
Name | Description | Type | Required |
---|---|---|---|
Users | Expression which contains the ID of the user to which the task will be assigned. | Expression | false |
Teams | Expression which contains the teams to which the task will be assigned, this can be multivalued. | Expression | false |
Roles | Expression which contains the role to which the task will be assigned, this can be multivalued. | Expression | false |
taskId | The task id of the task to be assigned. Note: leaving the taskId parameter empty is deprecated for the current DCM implementation and no longer supported in DCM 2.0 | Expression | false true for DCM 2.0 |
Routing
When calling this service it always sets a value in the task table (column IsUserSet
) in the background. This value indicates whether a task is assigned explicitly to someone. In case at least one parameter of this service is specified the value will be 1 in the database; when nothing is defined the value will be 0 (unassigning a task). This value is used for the reevaluation of tasks by the routing algorithm. Please refer to 'Overwrite manual assignments' at the page Routing Algorithms.
Unassign tasks
To unassign tasks add this service with empty parameters in the flow. Triggering this service (at runtime) will clear the assignee. This might be helpful to let the routing algorithm take control of the task assignments.