Update element instance variables
POSThttp://localhost:8080/v2/element-instances/:elementInstanceKey/variables
Updates all the variables of a particular scope (for example, process instance, flow element instance) with the given variable data.
Specify the element instance in the elementInstanceKey
parameter.
Request​
Responses​
- 204
- 400
- 500
The variables were updated.
The provided data is not valid.
An internal error occurred while processing the request.
- curl
- java
- nodejs
- csharp
- python
- go
- CURL
curl -L 'http://localhost:8080/v2/element-instances/:elementInstanceKey/variables' \
-H 'Content-Type: application/json' \
-d '{
"variables": {},
"local": false,
"operationReference": 0
}'