Update Task Variable
PUT/task/:id/variables/:varName
Updates a process variable that is visible from the Task scope. A variable is visible from the task if it is a local task variable, or declared in a parent scope of the task. See the documentation on variable scopes and visibility.
Note: If a variable doesn't exist, the variable is created in the top-most scope visible from the task.
Request
Responses
- 204
- 400
- 500
Request successful.
The variable name, value or type is invalid, for example if the value could not be parsed to an Integer
value or the passed variable type is not supported or a new transient variable has the name that is
already persisted. See the Introduction
for the error response format.
The variable name is null, or the Task id is null or does not exist. See the
Introduction
for the error response format.