I got a quick question regarding the scopes of variables when using input/output mapping.
In my understanding, passing variables to an element via input mapping creates a local variable that is only accessible for the execution context of the element it is passed to and deleted once the execution continues. Trying to access this newly created variable outside of the local scope would create an error.
For the output mapping, it creates a new global variable that can be accessed freely after creation, until the process instance is finished.
Can someone verify my understanding or in case I got it wrong please correct me.