You are viewing the documentation for Blueriq 15. 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 AQ_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 case 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
taskId

The task id of the task that should be executed.

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