Class VariableContainerUtil
java.lang.Object
com.flowable.platform.common.util.VariableContainerUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExpressionManager
getExpressionManager
(VariableContainer variableContainer) static String
getNonNullScopeType
(VariableContainer variableContainer) Returns the scope type, for CMMN and process engine contextsstatic String
getParentDeploymentId
(VariableContainer variableContainer) static String
getProcessInstanceId
(VariableContainer variableContainer) Returns the processInstanceId, only if the variable container is process related.static String
getScopeId
(VariableContainer variableContainer) Returns the scope id, when running in a non-process engine context.static String
getScopeType
(VariableContainer variableContainer) Returns the scope type, when running in a non-process-engine engine.
-
Method Details
-
getProcessInstanceId
Returns the processInstanceId, only if the variable container is process related. -
getScopeId
Returns the scope id, when running in a non-process engine context. -
getScopeType
Returns the scope type, when running in a non-process-engine engine. -
getNonNullScopeType
Returns the scope type, for CMMN and process engine contexts- Throws:
FlowableException
- in the case when scope type was not recognized
-
getParentDeploymentId
-
getExpressionManager
-