Task Variables
List variables for a task
get/cmmn-runtime/tasks/{taskId}/variables
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
Query parameters
scopestring
Scope of variable to be returned. When local, only task-local variable value is returned. When global, only variable value from the task’s parent execution-hierarchy are returned. When the parameter is omitted, a local variable will be returned if it exists, otherwise a global variable.
Response
Indicates the task was found and the requested variables are returned
Example response
[
{
"name": "myVariable",
"type": "string",
"valueUrl": "http://...."
}
]Changes
No recorded changes to this operation across all 1 revision of this API.