cancel
Showing results for 
Search instead for 
Did you mean: 

how to retrieve local variables value using API

riddhishah1604
Champ in-the-making
Champ in-the-making
Hi,

I want to fetch the value of the local variable of a particular process instance id.

More easier, i just want to check if the local process variable exists or not?
Any easy way?
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi,

There are no local variables on a process instance level. The idea of a local variable is that it exists in a child scope of a process instance.
So via the RuntimeService you can use the method getVariablesLocal with an executionId as the input parameter.

Best regards,