-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
There is a configuration option for a call activity input parameter such that all local variables of the execution executing the call activity are passed to the new process instance (currently it is only possible to pass all reachable variables (i.e. local and non-local)). This feature enables using call activity in/out parameters in combination with camunda:inputOutput elements on the call activity element.
For example, it could look like (note the local attribute):
<callActivity id="callSubProcess" calledElement="checkCreditProcess" > <extensionElements> <!-- mapping variables into call activity --> <camunda:inputOutput> <camunda:inputParameter name="inputVariable">${in + 1}</camunda:inputParameter> <camunda:outputParameter name="outputVariable">${out + 1}</camunda:outputParameter> </camunda:inputOutput> <!-- passing variables to called process instance --> <camunda:in variables="all" local="true" /> <camunda:out variables="all" local="true" /> </extensionElements> </callActivity>
The same should be possible for CMMN process/case tasks.