Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-4516

For a call activity/process task, I can map all local variables to the called process instance

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.4.0, 7.4.0-alpha3
    • None
    • engine

      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.

        This is the controller panel for Smart Panels app

              matthijs.burke Matthijs
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: