Task Variable

Update/Delete Task Variables

Updates or deletes the variables visible from the task. Updates precede deletions. So, if a variable is updated AND deleted, the deletion overrides the update. A variable is visible from the task if it is a local task variable or declared in a parent scope of the task. See documentation on visiblity of variables.

post/task/{id}/variables

Request

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

Path parameters

idstring required

The id of the task to set variables for.

Request body

modificationsobject nullable

A JSON object containing variable key-value pairs.

deletionsstring[] nullable

An array of String keys of variables to be deleted.

Response

Request successful.

Changes

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