External Task

Complete

Completes an external task by id and updates process variables.

post/external-task/{id}/complete

Request

  • Base URL: http://localhost:8080/engine-rest
  • URL: http://localhost:8080/engine-rest/external-task/{id}/complete
  • Auth: HTTP basic

Path parameters

idstring required

The id of the task to complete.

Request body

variablesobject nullable

A JSON object containing variable key-value pairs. Each key is a variable name and each value a JSON variable value object with the following properties:

localVariablesobject nullable

A JSON object containing local variable key-value pairs. Local variables are set only in the scope of external task. Each key is a variable name and each value a JSON variable value object with the following properties:

workerIdstring

Mandatory. The ID of the worker who is performing the operation on the external task. If the task is already locked, must match the id of the worker who has most recently locked the task.

Response

Request successful.

Changes

No recorded changes to this operation across all 1 revision of this API.