Task

Complete

Completes a task and updates process variables.

post/task/{id}/complete

Request

  • Base URL: http://localhost:8080/engine-rest
  • URL: http://localhost:8080/engine-rest/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.

withVariablesInReturnboolean nullable

Indicates whether the response should contain the process variables or not. The default is false with a response code of 204. If set to true the response contains the process variables and has a response code of 200. If the task is not associated with a process instance (e.g. if it's part of a case instance) no variables will be returned.

Response

Request successful. The response contains the process variables.

object required

Changes

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