cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to query execution Variable in a task query

ashendra1
Champ in-the-making
Champ in-the-making
Hi,

  If I get all the variables of a task, using
/runtime/tasks/{taskId}/variables

I also get execution variables in response.

But when i try to query on those variables using
/query/tasks

Then it does not return any response. Basically it doesn't query on those variables. Is there a way to do so.

Ashendra

2 REPLIES 2

trademak
Star Contributor
Star Contributor
Hi Ashendra,

Did you POST the request to query/tasks?
What is your request?

Best regards,

ssun
Champ on-the-rise
Champ on-the-rise
I believe we are talking about the built in REST API here. (Side note: I wish the REST API get its own forum like the explorer)
From the example I see here http://activiti.org/userguide/index.html#N148B7 , you can query on taskVariables or processInstanceVariables . I'm not sure about execution variables. Maybe just try executionVariables in your post JSON.