Pass a subprocess variable to a parent process

Hi I have a parent process who launches a subprocess (callactivity)
In the suprocess, I am setting the value of a variable and I would like to get it back after the callactivity is ended in the parent process (calling one).

How should I do that?
Putting it in the Output variables doesn’t seem to work.

Thanks

Hi @Mokhtar,

Check out this: https://docs.camunda.org/manual/7.8/reference/bpmn20/subprocesses/call-activity/#passing-variables

Cheers,
Thorben

Thtat was useful thanks.

Especially the All feature which allows you pass all the variables of the parent process to the child one and viceversa.