public interface ReadOnlyDelegateExecution extends VariableContainer
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrentActivityId()
Gets the id of the current activity.
|
org.flowable.bpmn.model.FlowElement |
getCurrentFlowElement()
The BPMN element where the execution currently is at.
|
String |
getEventName()
Will contain the event name in case this execution is passed in for an
ExecutionListener. |
String |
getId()
Unique id of this path of execution that can be used as a handle to provide external signals back into the engine after wait states.
|
String |
getParentId()
Gets the id of the parent of this execution.
|
String |
getProcessDefinitionId()
The process definition key for the process instance this execution is associated with.
|
String |
getProcessInstanceBusinessKey()
The business key for the process instance this execution is associated with.
|
String |
getProcessInstanceId()
Reference to the overall process instance
|
String |
getPropagatedStageInstanceId()
If this execution runs in the context of a case and stage, this method returns it's closest parent stage instance id (the stage plan item instance id to be
precise).
|
String |
getRootProcessInstanceId()
The 'root' process instance.
|
String |
getSuperExecutionId()
Gets the id of the calling execution.
|
boolean |
isActive()
returns whether this execution is currently active.
|
boolean |
isConcurrent()
returns whether this execution is concurrent or not.
|
boolean |
isEnded()
returns whether this execution has ended or not.
|
boolean |
isMultiInstanceRoot()
Returns whether this execution is the root of a multi instance execution.
|
boolean |
isProcessInstanceType()
returns whether this execution is a process instance or not.
|
boolean |
isScope()
Returns whether this execution is a scope.
|
default void |
setTransientVariable(String variableName,
Object variableValue) |
default void |
setVariable(String variableName,
Object variableValue) |
getTenantId, getVariable, hasVariableString getId()
String getProcessInstanceId()
String getRootProcessInstanceId()
String getEventName()
ExecutionListener.String getProcessInstanceBusinessKey()
String getProcessDefinitionId()
String getPropagatedStageInstanceId()
String getParentId()
String getSuperExecutionId()
String getCurrentActivityId()
org.flowable.bpmn.model.FlowElement getCurrentFlowElement()
boolean isActive()
boolean isEnded()
boolean isConcurrent()
boolean isProcessInstanceType()
boolean isScope()
boolean isMultiInstanceRoot()
default void setVariable(String variableName, Object variableValue)
setVariable in interface VariableContainerdefault void setTransientVariable(String variableName, Object variableValue)
setTransientVariable in interface VariableContainerCopyright © 2020 Flowable. All rights reserved.