You are viewing the documentation for Blueriq 15. Documentation for other versions is available in our documentation directory.

This service call is part of the ongoing effort to support more DCM features natively in the Blueriq Runtime. Its signature and behavior may change over time. Please check release notes and upgrade instructions when using it.

This service call definition is part of the DCM library. It is only available when the case-engine-client profile is enabled.

Assign tasks

The DCM_AssignTask service call type is used to assign the active task to a set of specific users or a set of teams and/or roles. This means that to assign a task, either the Users parameter should be filled, or one or all of Teams and Roles.

Parameters

NameDescriptionTypeRequired
UsersExpression which contains the ID of the user to which the task will be assigned, this can be multivalued.Expressionfalse
TeamsExpression which contains the teams to which the task will be assigned, this can be multivalued.Expressionfalse
RolesExpression which contains the role to which the task will be assigned, this can be multivalued.Expressionfalse
TaskId

The task id of the task to be assigned.

Expression

true

ProcessIdThe id of the process for which the task should be assignedExpressiontrue


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.