You are here

Get variables for a task

Use this to get all the variables for a specific task.


An authenticated user will have access to a tasks variables if the user has started the process or if the user is involved in any of the process’s tasks. In a network, only variables for a process that is inside the given network are returned.

In non-network deployments, administrators can see all variables and perform all operations on those variables. In network deployments, network administrators can see all variables in their network and perform all operations on variables in their network.


Using the HTTP GET method:-


Example request URL

You can use the where parameter to get tasks that meet certain criteria. The where parameter takes a single predicate that includes one or more conditions connected by AND . For example, if you only want local tasks the where parameter would be where=( scope='local')

The following table shows the where parameters you can use in this method:
Name Description Operators Type
scope Can have one of the values {local|global|any}.
Return task local variables
Return process variables
Return task local and process variables. This is the default
= Enumerated String


  • If the request is successful an HTTP OK is returned (status 200).

Example response body

The body of the response will be a list containing all the variables for the specified taskId.

entry: {
   "scope": "global",
   "name": "bpm_priority",
   "value": 1,
   "type": "d_int"