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

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4.0, 7.4.0-alpha3
    • Component/s: engine
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: