Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
Mandatory. The id of the worker on which behalf tasks are fetched. The returned tasks are locked for that worker and can only be completed when providing the same worker id.
Mandatory. The maximum number of tasks to return.
A boolean value, which indicates whether the task should be fetched based on its priority
or arbitrarily.
The Long Polling timeout in milliseconds.
Note: The value cannot be set larger than 1.800.000 milliseconds (corresponds to 30 minutes).
A JSON array of topic objects for which external tasks should be fetched. The returned tasks may be arbitrarily distributed among these topics. Each topic object has the following properties:
Apply sorting of the result
Response
Request successful.
The id of the activity that this external task belongs to.
The id of the activity instance that the external task belongs to.
The full error message submitted with the latest reported failure executing this task;null if no failure
was reported previously or if no error message was submitted
The error details submitted with the latest reported failure executing this task.null if no failure was
reported previously or if no error details was submitted
The id of the execution that the external task belongs to.
The id of the external task.
The date that the task's most recent lock expires or has expired.
The id of the process definition the external task is defined in.
The key of the process definition the external task is defined in.
The version tag of the process definition the external task is defined in.
The id of the process instance the external task belongs to.
The id of the tenant the external task belongs to.
The number of retries the task currently has left.
Whether the process instance the external task belongs to is suspended.
The id of the worker that posesses or posessed the most recent lock.
The priority of the external task.
The topic name of the external task.
The business key of the process instance the external task belongs to.
A JSON object containing a property for each of the requested variables. The key is the variable name, the value is a JSON object of serialized variable values with the following properties: