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
- Base URLhttps://developer-docs.flowable.com/cmmn-api
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
taskIdstring required
variableNamestring required
Request body
Task Variable Resource required
Response
Indicates the variables was updated and the result is returned.
Example response
{
"name": "myVariable",
"type": "string",
"valueUrl": "http://...."
}Changes
No recorded changes to this operation across all 1 revision of this API.