Task Variables

Update an existing variable on a task

This endpoint can be used in 2 ways: By passing a JSON Body (RestVariable) or by passing a multipart/form-data Object. It is possible to update simple (non-binary) variable or binary variable Any number of variables can be passed into the request body array. NB: Swagger V2 specification does not support this use case that is why this endpoint might be buggy/incomplete if used with other tools.

put/cmmn-runtime/tasks/{taskId}/variables/{variableName}

Request

Path parameters

taskIdstring required
variableNamestring required

Request body

TaskVariableResource required

Response

Indicates the variables was updated and the result is returned.

namestring

Name of the variable

typestring

Type of the variable.

valueobject

Value of the variable.

valueUrlstring
scopestring

Example response

{
  "name": "myVariable",
  "type": "string",
  "valueUrl": "http://...."
}

Changes

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