Interface DelegateVariableMapping


public interface DelegateVariableMapping
Represents a delegated mapping of input and output variables.
Author:
Christopher Zell <christopher.zell@camunda.com>
  • Method Details

    • mapInputVariables

      void mapInputVariables(DelegateExecution superExecution, VariableMap subVariables)
      Maps the input variables into the given variables map. The variables map will be used by the sub process.
      Parameters:
      superExecution - the execution object of the super (outer) process
      subVariables - the variables map of the sub (inner) process
    • mapOutputVariables

      void mapOutputVariables(DelegateExecution superExecution, VariableScope subInstance)
      Maps the output variables into the outer process. This means the variables of the sub process, which can be accessed via the subInstance, will be set as variables into the super process, for example via ${superExecution.setVariables}.
      Parameters:
      superExecution - the execution object of the super (outer) process, which gets the output variables
      subInstance - the instance of the sub process, which contains the variables