cancel
Showing results for 
Search instead for 
Did you mean: 

Query For All Global Variables For Process Instance ID

jrmich44
Champ in-the-making
Champ in-the-making
Hello,

I was wondering if there is a way to retrieve all the global variables and their values for a given process instance ID.  I need to make sure that I do not retrieve any task local variables in this result set. Thanks for your help and time.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
the ProcessInstanceQuery has a .includeVariables method.
This does what you describe.