Passing information from event sub-process to main process

Hello everyone,

in Camunda 8, can I pass a process variable written in an event sub-process to the higher-level process by defining an entry in the “Outputs” section of the sub-process for that variable?

I am currently unable to test it.

Best regards

Hello @swiffler ,

from my understanding, creating a new variable in any scope will create it at root scope. So, no export needed.

If no scope contains this variable, it’s created as a new variable in the root scope.

See here.

I hope this helps

Jonathan

2 Likes

Ok cool thx!