Class VariableContainerUtil

java.lang.Object
com.flowable.platform.common.util.VariableContainerUtil

public class VariableContainerUtil extends Object
  • Method Details

    • getProcessInstanceId

      public static String getProcessInstanceId(VariableContainer variableContainer)
      Returns the processInstanceId, only if the variable container is process related.
    • getScopeId

      public static String getScopeId(VariableContainer variableContainer)
      Returns the scope id, when running in a non-process engine context.
    • getScopeType

      public static String getScopeType(VariableContainer variableContainer)
      Returns the scope type, when running in a non-process-engine engine.
    • getNonNullScopeType

      public static String getNonNullScopeType(VariableContainer variableContainer)
      Returns the scope type, for CMMN and process engine contexts
      Throws:
      FlowableException - in the case when scope type was not recognized
    • getParentDeploymentId

      public static String getParentDeploymentId(VariableContainer variableContainer)
    • getExpressionManager

      public static ExpressionManager getExpressionManager(VariableContainer variableContainer)