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

This type of service is used to execute the active task. A task will be executed when a user starts a task using the worklist container, using the AQ_NextTasksForCase service or using a custom service. This service will only make use of a task ID which is stored on a default place.

The DCM_ExecuteTask has four default events which correspond with the four possible end results of the service.

  • Completed: An execute_task will get completed if the flow which is mapped on the task has been completed using a plain end-event. When a task has been completed, a data mapping is performed and the domain of the PE is inferred.
  • Abort: An execute_ task will get aborted when the flow which is mapped on the task is finished using a cancel end node. When a task is aborted the mapping and inference won't take place, the task which is aborted will get the status open again.
  • Denied: An execute_ task will get denied if the user opening it does not have the privileges to perform the task or the task is already started or finished. The task will not be started and no mapping and inference will take place.
  • Locked: An execute_ task will have the outcome locked if the task or process has been locked by another user. This only happens when 'Apply case locking' is TRUE. All tasks of the case will be locked when one task is started.

Parameters

NameDescriptionTypeRequired
ProcessIdThe id of the process for which the task should be executedExpressionYes
TaskId

The task id of the task that should be executed.

ExpressionYes

NOTE: This service call type will only work in DCM 2.0 applications. For DCM 1.0 applications use AQ_ExecuteTask

NOTE: Since v2.0.0 of the DCM library this service is not included any more.