cancel
Showing results for 
Search instead for 
Did you mean: 

Field 'variables' is always empty in /runtime/tasks

oskosyr
Champ in-the-making
Champ in-the-making
Hi,

I have been trying to get process variables along with task information as a result of /runtime/tasks request but with no luck.
Field 'variables' is always empty in response.

I have already checked sources but have not found places where this field is set.

Could someone point me to the right direction?

Best regards,
Aleksandr
2 REPLIES 2

oskosyr
Champ in-the-making
Champ in-the-making
Forgot to add.
If I send a request runtime/tasks/<taskId>/variables then variables are correctly returned for the task.

Thank you,
Aleksandr

oskosyr
Champ in-the-making
Champ in-the-making
Never mind.

I was wrong.

Everything works fine with parameter
includeProcessVariables=true