Class VariableContainerUtil


  • public class VariableContainerUtil
    extends Object
    • Method Detail

      • 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
      • getDefinitionDeploymentId

        public static String getDefinitionDeploymentId​(String processDefinitionId)