caseId of subprocess created by callActivity

Description

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

Environment

REST API

External Link

None

Workaround

None

Status

Assignee

Antoine Mottier

Reporter

fabien

Affects versions

Reference

PF-503

Fix versions

None
Configure