I have 2 workflows with different variables. I call one with a call activity of the other and during the execution of the subprocess I want to know values of its variables.
To do this, I use the rest api request caseVariable with the caseId parameter.
But, the caseId of the subprocess is the same as the caseId of the parent process. And when i launch this request, I only get variables of parent process.
This way, I have no possibility to get variables of the subprocess by REST API request
Create 2 workflows. Call one with a call activity of the other.