Uses of Interface
org.flowable.engine.delegate.DelegateExecution
Packages that use DelegateExecution
Package
Description
Public API of the Flowable engine.
Typical usage of the API starts by the creation of a
Through the services obtained from such a
Typical usage of the API starts by the creation of a
ProcessEngineConfiguration
(typically based on a configuration file), from which a ProcessEngine
can be obtained.Through the services obtained from such a
ProcessEngine
, BPM and workflow operation
can be executed:RepositoryService
: Manages Deployment
s.RuntimeService
: For starting and searching ProcessInstance
s.TaskService
: Exposes operations to manage human (standalone) tasks, such as claiming, completing and assigning tasks.IdentityService
: Used for managing users, groups and the relations between them.ManagementService
: Exposes engine administration and maintenance operations,
which have no relation to the runtime exection of business processes.HistoryService
: Exposes information about ongoing and past process instances.FormService
: Access to form data and rendered forms for starting new process instances and completing tasks.Interfaces used to include Java code in a process as the behavior of an activity
or as a listener to process events with
JavaDelegate
s.API implementation classes, which shouldn't directly be used by end-users.
-
Uses of DelegateExecution in org.flowable.engine
Methods in org.flowable.engine with parameters of type DelegateExecutionModifier and TypeMethodDescriptionvoid
DecisionTableVariableManager.setDecisionServiceVariablesOnExecution
(Map<String, List<Map<String, Object>>> executionResult, String decisionKey, DelegateExecution execution, com.fasterxml.jackson.databind.ObjectMapper objectMapper, boolean multipleResults) void
DecisionTableVariableManager.setVariablesOnExecution
(List<Map<String, Object>> executionResult, String decisionKey, DelegateExecution execution, com.fasterxml.jackson.databind.ObjectMapper objectMapper, boolean multipleResults) -
Uses of DelegateExecution in org.flowable.engine.compatibility
Methods in org.flowable.engine.compatibility with parameters of type DelegateExecutionModifier and TypeMethodDescriptionFlowable5CompatibilityHandler.getScriptingEngineValue
(String payloadExpressionValue, String languageValue, DelegateExecution execution) void
Flowable5CompatibilityHandler.leaveExecution
(DelegateExecution execution) void
Flowable5CompatibilityHandler.leaveMIExecution
(DelegateExecution execution, Object v5MultiInstanceActivityBehavior) boolean
Flowable5CompatibilityHandler.mapException
(Exception camelException, DelegateExecution execution, List<MapExceptionEntry> mapExceptions) void
Flowable5CompatibilityHandler.propagateError
(BpmnError bpmnError, DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.debug
Methods in org.flowable.engine.debug with parameters of type DelegateExecutionModifier and TypeMethodDescriptionstatic ExecutionTree
ExecutionTreeUtil.buildExecutionTree
(DelegateExecution executionEntity) -
Uses of DelegateExecution in org.flowable.engine.delegate
Methods in org.flowable.engine.delegate that return DelegateExecutionModifier and TypeMethodDescriptionDelegateExecution.getParent()
returns the parent of this execution, or null if there no parent.Methods in org.flowable.engine.delegate that return types with arguments of type DelegateExecutionModifier and TypeMethodDescriptionList<? extends DelegateExecution>
DelegateExecution.getExecutions()
returns the list of execution of which this execution the parent of.Methods in org.flowable.engine.delegate with parameters of type DelegateExecutionModifier and TypeMethodDescriptionvoid
FlowableFutureJavaDelegate.afterExecution
(DelegateExecution execution, Output executionData) Method invoked with the result fromFlowableFutureJavaDelegate.execute(Object)
.void
FutureJavaDelegate.afterExecution
(DelegateExecution execution, Output executionData) Method invoked with the result fromFutureJavaDelegate.execute(DelegateExecution, AsyncTaskInvoker)
.default void
MapBasedFlowableFutureJavaDelegate.afterExecution
(DelegateExecution execution, Map<String, Object> executionData) default CompletableFuture<Output>
FlowableFutureJavaDelegate.execute
(DelegateExecution execution, AsyncTaskInvoker taskInvoker) FutureJavaDelegate.execute
(DelegateExecution execution, AsyncTaskInvoker taskInvoker) Perform the execution of the delegate, potentially on another thread.void
JavaDelegate.execute
(DelegateExecution execution) static BpmnModel
DelegateHelper.getBpmnModel
(DelegateExecution execution) Returns theBpmnModel
matching the process definition bpmn model for the process definition of the passedDelegateExecution
.CustomPropertiesResolver.getCustomPropertiesMap
(DelegateExecution execution) static Map<String,
List<ExtensionElement>> DelegateHelper.getExtensionElements
(DelegateExecution execution) static FieldExtension
DelegateHelper.getField
(DelegateExecution execution, String fieldName) Returns theFieldExtension
matching the provided 'fieldName' which is defined for the current activity of the providedDelegateExecution
.static Expression
DelegateHelper.getFieldExpression
(DelegateExecution execution, String fieldName) Returns theExpression
for the field defined for the current activity of the providedDelegateExecution
.static List<FieldExtension>
DelegateHelper.getFields
(DelegateExecution execution) Returns the list of field extensions, represented as instances ofFieldExtension
, for the current activity of the passedDelegateExecution
.static FlowElement
DelegateHelper.getFlowElement
(DelegateExecution execution) Returns the currentFlowElement
where theDelegateExecution
is currently at.static Map<String,
List<ExtensionElement>> DelegateHelper.getFlowElementExtensionElements
(DelegateExecution execution) static FieldExtension
DelegateHelper.getFlowElementField
(DelegateExecution execution, String fieldName) static Expression
DelegateHelper.getFlowElementFieldExpression
(DelegateExecution execution, String fieldName) static List<FieldExtension>
DelegateHelper.getFlowElementFields
(DelegateExecution execution) static Map<String,
List<ExtensionElement>> DelegateHelper.getListenerExtensionElements
(DelegateExecution execution) static FieldExtension
DelegateHelper.getListenerField
(DelegateExecution execution, String fieldName) static Expression
DelegateHelper.getListenerFieldExpression
(DelegateExecution execution, String fieldName) static List<FieldExtension>
DelegateHelper.getListenerFields
(DelegateExecution execution) static boolean
DelegateHelper.isExecutingExecutionListener
(DelegateExecution execution) Returns whether or not the provided execution is being use for executing anExecutionListener
.static void
DelegateHelper.leaveDelegate
(DelegateExecution delegateExecution) To be used in anActivityBehavior
orJavaDelegate
: leaves according to the default BPMN 2.0 rules: all sequenceflow with a condition that evaluates to true are followed.static void
DelegateHelper.leaveDelegate
(DelegateExecution delegateExecution, String sequenceFlowId) To be used in anActivityBehavior
orJavaDelegate
: leaves the current activity via one specific sequenceflow.void
ExecutionListener.notify
(DelegateExecution execution) FlowableFutureJavaDelegate.prepareExecutionData
(DelegateExecution execution) Method invoked before doing the execution to extract needed that from the execution on the main thread.default ReadOnlyDelegateExecution
MapBasedFlowableFutureJavaDelegate.prepareExecutionData
(DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.delegate.event
Methods in org.flowable.engine.delegate.event that return DelegateExecutionModifier and TypeMethodDescriptionprotected DelegateExecution
AbstractFlowableEngineEventListener.getExecution
(FlowableEngineEvent event) FlowableProcessEngineEvent.getExecution()
Return the execution this event is associated with. -
Uses of DelegateExecution in org.flowable.engine.delegate.event.impl
Methods in org.flowable.engine.delegate.event.impl that return DelegateExecution -
Uses of DelegateExecution in org.flowable.engine.delegate.variable
Methods in org.flowable.engine.delegate.variable with parameters of type DelegateExecutionModifier and TypeMethodDescriptionVariableAggregator.aggregateMultiVariables
(DelegateExecution execution, List<? extends VariableInstance> instances, VariableAggregatorContext context) Aggregated the provided variable instances into one variable value.VariableAggregator.aggregateSingleVariable
(DelegateExecution execution, VariableAggregatorContext context) Create a single variable value based on the provided aggregation definition. -
Uses of DelegateExecution in org.flowable.engine.impl
Methods in org.flowable.engine.impl with parameters of type DelegateExecutionModifier and TypeMethodDescriptionboolean
Condition.evaluate
(String sequenceFlowId, DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.impl.bpmn.behavior
Fields in org.flowable.engine.impl.bpmn.behavior declared as DelegateExecutionModifier and TypeFieldDescriptionprotected final DelegateExecution
ServiceTaskDelegateExpressionActivityBehavior.FutureJavaDelegateCompleteAction.execution
protected final DelegateExecution
ServiceTaskExpressionActivityBehavior.FutureCompleteAction.execution
protected final DelegateExecution
ServiceTaskFutureJavaDelegateActivityBehavior.FutureJavaDelegateCompleteAction.execution
Methods in org.flowable.engine.impl.bpmn.behavior that return DelegateExecutionModifier and TypeMethodDescriptionprotected DelegateExecution
ParallelGatewayActivityBehavior.findMultiInstanceParentExecution
(DelegateExecution execution) protected DelegateExecution
MultiInstanceActivityBehavior.getInstanceExecution
(DelegateExecution execution) protected DelegateExecution
MultiInstanceActivityBehavior.getMultiInstanceRootExecution
(DelegateExecution execution) Methods in org.flowable.engine.impl.bpmn.behavior with parameters of type DelegateExecutionModifier and TypeMethodDescriptionprotected void
MultiInstanceActivityBehavior.aggregateVariablesForChildExecution
(DelegateExecution childExecution, DelegateExecution miRootExecution) Aggregated the variables for the finished child multi instance executionprotected void
MultiInstanceActivityBehavior.aggregateVariablesOfAllInstances
(DelegateExecution multiInstanceRootExecution) Aggregates all variables that were stored before for each child instanceprotected void
DmnActivityBehavior.applyFallbackToDefaultTenant
(DelegateExecution execution, ExecuteDecisionBuilder executeDecisionBuilder) protected void
DmnActivityBehavior.applyParentDeployment
(DelegateExecution execution, ExecuteDecisionBuilder executeDecisionBuilder, ProcessEngineConfigurationImpl processEngineConfiguration) MultiInstanceActivityBehavior.buildCompletedEvent
(DelegateExecution execution, FlowableEngineEventType eventType) protected void
MultiInstanceActivityBehavior.callActivityEndListeners
(DelegateExecution execution) Since no transitions are followed when leaving the inner activity, it is needed to call the end listeners yourself.protected Collection<ExecutionEntity>
ParallelGatewayActivityBehavior.cleanJoinedExecutions
(Collection<ExecutionEntity> joinedExecutions, DelegateExecution multiInstanceExecution) protected void
MultiInstanceActivityBehavior.cleanupMiRoot
(DelegateExecution execution) void
CallActivityBehavior.completed
(DelegateExecution execution) void
CaseTaskActivityBehavior.completed
(DelegateExecution execution) void
MultiInstanceActivityBehavior.completed
(DelegateExecution execution) void
CallActivityBehavior.completing
(DelegateExecution execution, DelegateExecution subProcessInstance) void
CaseTaskActivityBehavior.completing
(DelegateExecution execution, DelegateExecution subProcessInstance) void
MultiInstanceActivityBehavior.completing
(DelegateExecution execution, DelegateExecution subProcessInstance) boolean
MultiInstanceActivityBehavior.completionConditionSatisfied
(DelegateExecution execution) void
SequentialMultiInstanceBehavior.continueSequentialMultiInstance
(DelegateExecution execution, int loopCounter, ExecutionEntity multiInstanceRootExecution) protected FlowableCollectionHandler
MultiInstanceActivityBehavior.createFlowableCollectionHandler
(CollectionHandler handler, DelegateExecution execution) protected abstract int
MultiInstanceActivityBehavior.createInstances
(DelegateExecution execution) protected int
ParallelMultiInstanceBehavior.createInstances
(DelegateExecution multiInstanceRootExecution) Handles the parallel case of spawning the instances.protected int
SequentialMultiInstanceBehavior.createInstances
(DelegateExecution multiInstanceRootExecution) Handles the sequential case of spawning the instances.protected ExecutionEntity
IntermediateCatchEventRegistryEventActivityBehavior.deleteEventSubscription
(DelegateExecution execution) protected ExecutionEntity
IntermediateCatchVariableListenerEventActivityBehavior.deleteEventSubscription
(DelegateExecution execution) protected ExecutionEntity
IntermediateCatchMessageEventActivityBehavior.deleteMessageEventSubScription
(DelegateExecution execution) protected void
IntermediateCatchEventActivityBehavior.deleteOtherEventsRelatedToEventBasedGateway
(DelegateExecution execution, EventGateway eventGateway) protected ExecutionEntity
IntermediateCatchSignalEventActivityBehavior.deleteSignalEventSubscription
(DelegateExecution execution) void
IntermediateCatchEventActivityBehavior.eventCancelledByEventGateway
(DelegateExecution execution) Should be subclassed by the more specific types.void
IntermediateCatchEventRegistryEventActivityBehavior.eventCancelledByEventGateway
(DelegateExecution execution) void
IntermediateCatchMessageEventActivityBehavior.eventCancelledByEventGateway
(DelegateExecution execution) void
IntermediateCatchSignalEventActivityBehavior.eventCancelledByEventGateway
(DelegateExecution execution) void
IntermediateCatchTimerEventActivityBehavior.eventCancelledByEventGateway
(DelegateExecution execution) void
IntermediateCatchVariableListenerEventActivityBehavior.eventCancelledByEventGateway
(DelegateExecution execution) void
AdhocSubProcessActivityBehavior.execute
(DelegateExecution execution) void
BoundaryCompensateEventActivityBehavior.execute
(DelegateExecution execution) void
BoundaryConditionalEventActivityBehavior.execute
(DelegateExecution execution) void
BoundaryEscalationEventActivityBehavior.execute
(DelegateExecution execution) void
BoundaryEventActivityBehavior.execute
(DelegateExecution execution) void
BoundaryEventRegistryEventActivityBehavior.execute
(DelegateExecution execution) void
BoundaryMessageEventActivityBehavior.execute
(DelegateExecution execution) void
BoundarySignalEventActivityBehavior.execute
(DelegateExecution execution) void
BoundaryTimerEventActivityBehavior.execute
(DelegateExecution execution) void
BoundaryVariableListenerEventActivityBehavior.execute
(DelegateExecution execution) void
BusinessRuleTaskActivityBehavior.execute
(DelegateExecution execution) void
CallActivityBehavior.execute
(DelegateExecution execution) void
CancelEndEventActivityBehavior.execute
(DelegateExecution execution) void
CaseTaskActivityBehavior.execute
(DelegateExecution execution) void
DmnActivityBehavior.execute
(DelegateExecution execution) void
ErrorEndEventActivityBehavior.execute
(DelegateExecution execution) void
EscalationEndEventActivityBehavior.execute
(DelegateExecution execution) void
EventSubProcessEventRegistryStartEventActivityBehavior.execute
(DelegateExecution execution) void
EventSubProcessMessageStartEventActivityBehavior.execute
(DelegateExecution execution) void
EventSubProcessSignalStartEventActivityBehavior.execute
(DelegateExecution execution) void
EventSubProcessTimerStartEventActivityBehavior.execute
(DelegateExecution execution) void
EventSubProcessVariableListenerlStartEventActivityBehavior.execute
(DelegateExecution execution) void
ExternalWorkerTaskActivityBehavior.execute
(DelegateExecution execution) void
FlowNodeActivityBehavior.execute
(DelegateExecution execution) Default behaviour: just leave the activity with no extra functionality.void
InclusiveGatewayActivityBehavior.execute
(DelegateExecution execution) void
IntermediateCatchConditionalEventActivityBehavior.execute
(DelegateExecution execution) void
IntermediateCatchEventActivityBehavior.execute
(DelegateExecution execution) void
IntermediateCatchEventRegistryEventActivityBehavior.execute
(DelegateExecution execution) void
IntermediateCatchMessageEventActivityBehavior.execute
(DelegateExecution execution) void
IntermediateCatchSignalEventActivityBehavior.execute
(DelegateExecution execution) void
IntermediateCatchTimerEventActivityBehavior.execute
(DelegateExecution execution) void
IntermediateCatchVariableListenerEventActivityBehavior.execute
(DelegateExecution execution) void
IntermediateThrowCompensationEventActivityBehavior.execute
(DelegateExecution execution) void
IntermediateThrowEscalationEventActivityBehavior.execute
(DelegateExecution execution) void
IntermediateThrowSignalEventActivityBehavior.execute
(DelegateExecution execution) void
MultiInstanceActivityBehavior.execute
(DelegateExecution delegateExecution) void
NoneEndEventActivityBehavior.execute
(DelegateExecution execution) void
ParallelGatewayActivityBehavior.execute
(DelegateExecution execution) void
ReceiveEventTaskActivityBehavior.execute
(DelegateExecution execution) void
ReceiveTaskActivityBehavior.execute
(DelegateExecution execution) void
ScriptTaskActivityBehavior.execute
(DelegateExecution execution) void
SendEventTaskActivityBehavior.execute
(DelegateExecution execution) void
ServiceTaskDelegateExpressionActivityBehavior.execute
(DelegateExecution execution) void
ServiceTaskExpressionActivityBehavior.execute
(DelegateExecution execution) void
ServiceTaskFutureJavaDelegateActivityBehavior.execute
(DelegateExecution execution) void
ServiceTaskJavaDelegateActivityBehavior.execute
(DelegateExecution execution) void
ShellActivityBehavior.execute
(DelegateExecution execution) void
SubProcessActivityBehavior.execute
(DelegateExecution execution) void
TerminateEndEventActivityBehavior.execute
(DelegateExecution execution) void
UserTaskActivityBehavior.execute
(DelegateExecution execution) void
UserTaskActivityBehavior.execute
(DelegateExecution execution, MigrationContext migrationContext) void
WebServiceActivityBehavior.execute
(DelegateExecution execution) protected void
AbstractBpmnActivityBehavior.executeCompensateBoundaryEvents
(Collection<BoundaryEvent> boundaryEvents, DelegateExecution execution) protected void
MultiInstanceActivityBehavior.executeCompensationBoundaryEvents
(FlowElement flowElement, DelegateExecution execution) protected void
MultiInstanceActivityBehavior.executeOriginalBehavior
(DelegateExecution execution, ExecutionEntity multiInstanceRootExecution, int loopCounter) protected void
ScriptTaskActivityBehavior.executeScript
(DelegateExecution execution) protected void
WebServiceActivityBehavior.fillMessage
(List<DataAssociation> dataInputAssociations, DelegateExecution execution) protected DelegateExecution
ParallelGatewayActivityBehavior.findMultiInstanceParentExecution
(DelegateExecution execution) protected String
CallActivityBehavior.getCalledElementValue
(DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration) protected List<ChannelModel>
SendEventTaskActivityBehavior.getChannelModels
(CommandContext commandContext, DelegateExecution execution, boolean sendOnSystemChannel) protected EventModel
SendEventTaskActivityBehavior.getEventModel
(CommandContext commandContext, DelegateExecution execution) protected DelegateExecution
MultiInstanceActivityBehavior.getInstanceExecution
(DelegateExecution execution) protected Integer
MultiInstanceActivityBehavior.getLocalLoopVariable
(DelegateExecution execution, String variableName) MultiInstanceActivityBehavior.getLoopVariable
(DelegateExecution execution, String variableName) MultiInstanceActivityBehavior.getLoopVariableInstance
(DelegateExecution execution, String variableName) protected DelegateExecution
MultiInstanceActivityBehavior.getMultiInstanceRootExecution
(DelegateExecution execution) protected EventGateway
IntermediateCatchEventActivityBehavior.getPrecedingEventBasedGateway
(DelegateExecution execution) protected ProcessDefinition
CallActivityBehavior.getProcessDefinition
(DelegateExecution execution, CallActivity callActivity, ProcessEngineConfigurationImpl processEngineConfiguration) protected ProcessDefinition
CallActivityBehavior.getProcessDefinitionById
(DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration) protected ProcessDefinition
CallActivityBehavior.getProcessDefinitionByKey
(DelegateExecution execution, boolean isSameDeployment, ProcessEngineConfigurationImpl processEngineConfiguration) protected String
ShellActivityBehavior.getStringFromField
(Expression expression, DelegateExecution execution) protected SubProcess
AdhocSubProcessActivityBehavior.getSubProcessFromExecution
(DelegateExecution execution) protected SubProcess
SubProcessActivityBehavior.getSubProcessFromExecution
(DelegateExecution execution) protected void
UserTaskActivityBehavior.handleAssignments
(TaskService taskService, String assignee, String owner, List<String> candidateUsers, List<String> candidateGroups, TaskEntity task, ExpressionManager expressionManager, DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration) protected void
UserTaskActivityBehavior.handleCategory
(CreateUserTaskBeforeContext beforeContext, ExpressionManager expressionManager, TaskEntity task, DelegateExecution execution) protected void
UserTaskActivityBehavior.handleDescription
(CreateUserTaskBeforeContext beforeContext, ExpressionManager expressionManager, TaskEntity task, DelegateExecution execution) protected void
UserTaskActivityBehavior.handleDueDate
(CreateUserTaskBeforeContext beforeContext, ExpressionManager expressionManager, TaskEntity task, DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration, String activeTaskDueDate) protected void
ServiceTaskDelegateExpressionActivityBehavior.handleException
(Throwable exc, DelegateExecution execution, boolean loggingSessionEnabled) protected void
ServiceTaskExpressionActivityBehavior.handleException
(Throwable exc, DelegateExecution execution) protected void
ServiceTaskFutureJavaDelegateActivityBehavior.handleException
(Throwable throwable, DelegateExecution execution, boolean loggingSessionEnabled) protected void
UserTaskActivityBehavior.handleFormKey
(CreateUserTaskBeforeContext beforeContext, ExpressionManager expressionManager, TaskEntity task, DelegateExecution execution) protected void
UserTaskActivityBehavior.handleName
(CreateUserTaskBeforeContext beforeContext, ExpressionManager expressionManager, TaskEntity task, DelegateExecution execution) protected void
UserTaskActivityBehavior.handlePriority
(CreateUserTaskBeforeContext beforeContext, ExpressionManager expressionManager, TaskEntity task, DelegateExecution execution, String activeTaskPriority) protected boolean
MultiInstanceActivityBehavior.hasVariableAggregationDefinitions
(DelegateExecution execution) protected ExecutionEntity
ParallelMultiInstanceBehavior.inactivateExecution
(DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration) protected void
ParallelMultiInstanceBehavior.inactivateExecutionAndParentExecutions
(DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration) protected void
WebServiceActivityBehavior.initializeIoSpecification
(IOSpecification activityIoSpecification, DelegateExecution execution, BpmnModel bpmnModel) protected void
MultiInstanceActivityBehavior.internalInterrupted
(DelegateExecution execution) protected void
ParallelMultiInstanceBehavior.internalInterrupted
(DelegateExecution execution) protected void
ParallelMultiInstanceBehavior.internalLeave
(DelegateExecution execution, boolean zeroNrOfInstances) void
MultiInstanceActivityBehavior.interrupted
(DelegateExecution execution) protected boolean
ParallelGatewayActivityBehavior.isChildOfMultiInstanceExecution
(DelegateExecution executionEntity, DelegateExecution multiInstanceExecution) protected boolean
SendEventTaskActivityBehavior.isSendOnSystemChannel
(DelegateExecution execution) void
MultiInstanceActivityBehavior.lastExecutionEnded
(DelegateExecution execution) void
AbstractBpmnActivityBehavior.leave
(DelegateExecution execution) Subclasses that call leave() will first pass through this method, before the regularFlowNodeActivityBehavior.leave(DelegateExecution)
is called.void
ExclusiveGatewayActivityBehavior.leave
(DelegateExecution execution) The default behaviour of BPMN, taking every outgoing sequence flow (where the condition evaluates to true), is not valid for an exclusive gateway.void
FlowNodeActivityBehavior.leave
(DelegateExecution execution) Default way of leaving a BPMN 2.0 activity: evaluate the conditions on the outgoing sequence flow and take those that evaluate to true.void
MultiInstanceActivityBehavior.leave
(DelegateExecution execution) void
ParallelMultiInstanceBehavior.leave
(DelegateExecution execution) Called when the wrappedActivityBehavior
calls theAbstractBpmnActivityBehavior.leave(DelegateExecution)
method.void
SequentialMultiInstanceBehavior.leave
(DelegateExecution execution) Called when the wrappedActivityBehavior
calls theAbstractBpmnActivityBehavior.leave(DelegateExecution)
method.void
FlowNodeActivityBehavior.leaveIgnoreConditions
(DelegateExecution execution) void
IntermediateCatchEventActivityBehavior.leaveIntermediateCatchEvent
(DelegateExecution execution) Specific leave method for intermediate events: does a normal leave(), except when behind an event based gateway.protected void
GatewayActivityBehavior.lockFirstParentScope
(DelegateExecution execution) protected void
ParallelMultiInstanceBehavior.lockFirstParentScope
(DelegateExecution execution) protected void
MultiInstanceActivityBehavior.logLoopDetails
(DelegateExecution execution, String custom, int loopCounter, int nrOfCompletedInstances, int nrOfActiveInstances, int nrOfInstances) void
ServiceTaskJavaDelegateActivityBehavior.notify
(DelegateExecution execution) protected Collection
MultiInstanceActivityBehavior.resolveAndValidateCollection
(DelegateExecution execution) protected Object
MultiInstanceActivityBehavior.resolveCollection
(DelegateExecution execution) protected int
MultiInstanceActivityBehavior.resolveLoopCardinality
(DelegateExecution execution) protected int
MultiInstanceActivityBehavior.resolveNrOfInstances
(DelegateExecution execution) protected void
WebServiceActivityBehavior.returnMessage
(List<DataAssociation> dataOutputAssociations, DelegateExecution execution) protected void
ScriptTaskActivityBehavior.safelyExecuteScript
(DelegateExecution execution) protected void
MultiInstanceActivityBehavior.sendCompletedEvent
(DelegateExecution execution) protected void
MultiInstanceActivityBehavior.sendCompletedWithConditionEvent
(DelegateExecution execution) protected void
DmnActivityBehavior.setDecisionServiceVariablesOnExecution
(Map<String, List<Map<String, Object>>> executionResult, String decisionServiceKey, DelegateExecution execution, com.fasterxml.jackson.databind.ObjectMapper objectMapper, boolean multipleResults) protected void
ServiceTaskExpressionActivityBehavior.setExecutionVariableValue
(Object value, DelegateExecution execution) protected void
MultiInstanceActivityBehavior.setLoopVariable
(DelegateExecution execution, String variableName, Object value) protected void
DmnActivityBehavior.setVariablesOnExecution
(List<Map<String, Object>> executionResult, String decisionKey, DelegateExecution execution, com.fasterxml.jackson.databind.ObjectMapper objectMapper, boolean multipleResults) void
BoundaryCancelEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
BoundaryCompensateEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
BoundaryConditionalEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
BoundaryEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
BoundaryEventRegistryEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
BoundaryMessageEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
BoundarySignalEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
BoundaryVariableListenerEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
EventSubProcessConditionalStartEventActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object signalData) void
EventSubProcessErrorStartEventActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object signalData) void
EventSubProcessEscalationStartEventActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object signalData) void
EventSubProcessEventRegistryStartEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
EventSubProcessMessageStartEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
EventSubProcessSignalStartEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
EventSubProcessTimerStartEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
EventSubProcessVariableListenerlStartEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
ExternalWorkerTaskActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object signalData) void
FlowNodeActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object signalData) void
IntermediateCatchConditionalEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
IntermediateCatchEventActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object signalData) void
IntermediateCatchEventRegistryEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
IntermediateCatchMessageEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
IntermediateCatchSignalEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
IntermediateCatchVariableListenerEventActivityBehavior.trigger
(DelegateExecution execution, String triggerName, Object triggerData) void
MultiInstanceActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object signalData) void
ReceiveEventTaskActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object signalData) void
ReceiveTaskActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object data) void
SendEventTaskActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object signalData) void
ServiceTaskDelegateExpressionActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object signalData) void
ServiceTaskExpressionActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object signalData) void
ServiceTaskFutureJavaDelegateActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object signalData) void
ServiceTaskJavaDelegateActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object signalData) void
UserTaskActivityBehavior.trigger
(DelegateExecution execution, String signalName, Object signalData) void
CaseTaskActivityBehavior.triggerCaseTask
(DelegateExecution execution, Map<String, Object> variables) void
CaseTaskActivityBehavior.triggerCaseTaskAndLeave
(DelegateExecution execution, Map<String, Object> variables) protected Activity
ParallelMultiInstanceBehavior.verifyCompensation
(DelegateExecution execution, ExecutionEntity executionToUse, Activity activity) Constructors in org.flowable.engine.impl.bpmn.behavior with parameters of type DelegateExecutionModifierConstructorDescriptionFutureCompleteAction
(DelegateExecution execution) FutureJavaDelegateCompleteAction
(FutureJavaDelegate<Object> delegateInstance, DelegateExecution execution, boolean loggingSessionEnabled) FutureJavaDelegateCompleteAction
(FutureJavaDelegate<Object> delegateInstance, DelegateExecution execution, boolean loggingSessionEnabled) -
Uses of DelegateExecution in org.flowable.engine.impl.bpmn.data
Methods in org.flowable.engine.impl.bpmn.data with parameters of type DelegateExecutionModifier and TypeMethodDescriptionabstract void
AbstractDataAssociation.evaluate
(DelegateExecution execution) void
Assignment.evaluate
(DelegateExecution execution) void
SimpleDataInputAssociation.evaluate
(DelegateExecution execution) void
TransformationDataOutputAssociation.evaluate
(DelegateExecution execution) void
IOSpecification.initialize
(DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.impl.bpmn.helper
Fields in org.flowable.engine.impl.bpmn.helper declared as DelegateExecutionModifier and TypeFieldDescriptionprotected DelegateExecution
DelegateExpressionCollectionHandler.execution
Methods in org.flowable.engine.impl.bpmn.helper with parameters of type DelegateExecutionModifier and TypeMethodDescriptionprotected static boolean
SkipExpressionUtil.checkSkipExpressionVariable
(String activityId, DelegateExecution execution, CommandContext commandContext) void
ClassDelegate.completed
(DelegateExecution execution) void
ClassDelegate.completing
(DelegateExecution execution, DelegateExecution subProcessInstance) void
ClassDelegate.execute
(DelegateExecution execution) protected static void
ErrorPropagation.executeCatch
(Map<String, List<Event>> eventMap, DelegateExecution delegateExecution, ErrorPropagation.BpmnErrorVariableContainer errorVariableContainer) protected static void
EscalationPropagation.executeCatch
(Map<String, List<Event>> eventMap, DelegateExecution delegateExecution, String escalationCode, String escalationName) protected FlowableCollectionHandler
DelegateExpressionCollectionHandler.getCollectionHandlerInstance
(DelegateExecution execution) ClassDelegate.getCustomPropertiesMap
(DelegateExecution execution) static boolean
SkipExpressionUtil.isSkipExpressionEnabled
(String skipExpression, String activityId, DelegateExecution execution, CommandContext commandContext) void
ClassDelegate.notify
(DelegateExecution execution) protected static void
ErrorPropagation.propagateError
(String errorCode, Throwable exception, DelegateExecution execution) static void
ErrorPropagation.propagateError
(String errorCode, DelegateExecution execution) static void
ErrorPropagation.propagateError
(BpmnError error, DelegateExecution execution) protected static void
ErrorPropagation.propagateError
(ErrorPropagation.BpmnErrorVariableContainer errorVariableContainer, DelegateExecution execution) static void
EscalationPropagation.propagateEscalation
(String escalationCode, String escalationName, DelegateExecution execution) static void
EscalationPropagation.propagateEscalation
(Escalation escalation, DelegateExecution execution) ClassDelegateCollectionHandler.resolveCollection
(Object collectionValue, DelegateExecution execution) DelegateExpressionCollectionHandler.resolveCollection
(Object collectionValue, DelegateExecution execution) static boolean
SkipExpressionUtil.shouldSkipFlowElement
(String skipExpressionString, String activityId, DelegateExecution execution, CommandContext commandContext) static void
ScopeUtil.throwCompensationEvent
(List<CompensateEventSubscriptionEntity> eventSubscriptions, DelegateExecution execution, boolean async) we create a separate execution for each compensation handler invocation.void
ClassDelegate.trigger
(DelegateExecution execution, String signalName, Object signalData) Constructors in org.flowable.engine.impl.bpmn.helper with parameters of type DelegateExecutionModifierConstructorDescriptionDelegateExpressionCollectionHandler
(DelegateExecution execution, Expression expression) -
Uses of DelegateExecution in org.flowable.engine.impl.bpmn.http
Methods in org.flowable.engine.impl.bpmn.http with parameters of type DelegateExecutionModifier and TypeMethodDescriptionvoid
DefaultBpmnHttpActivityDelegate.afterExecution
(DelegateExecution execution, BaseHttpActivityDelegate.ExecutionData result) DefaultBpmnHttpActivityDelegate.execute
(DelegateExecution execution, AsyncTaskInvoker taskInvoker) -
Uses of DelegateExecution in org.flowable.engine.impl.bpmn.listener
Methods in org.flowable.engine.impl.bpmn.listener with parameters of type DelegateExecutionModifier and TypeMethodDescriptionvoid
ListenerNotificationHelper.executeExecutionListeners
(HasExecutionListeners elementWithExecutionListeners, DelegateExecution execution, String eventType) DelegateExpressionCustomPropertiesResolver.getCustomPropertiesMap
(DelegateExecution execution) ExpressionCustomPropertiesResolver.getCustomPropertiesMap
(DelegateExecution execution) ListenerNotificationHelper.invokeCustomPropertiesResolver
(DelegateExecution execution, CustomPropertiesResolver customPropertiesResolver) void
DelegateExecutionListener.notify
(DelegateExecution execution) void
DelegateExpressionExecutionListener.notify
(DelegateExecution execution) void
ExpressionExecutionListener.notify
(DelegateExecution execution) void
ScriptExecutionListener.notify
(DelegateExecution execution) void
ScriptTypeExecutionListener.notify
(DelegateExecution execution) protected void
ListenerNotificationHelper.planTransactionDependentExecutionListener
(ListenerFactory listenerFactory, DelegateExecution execution, TransactionDependentExecutionListener executionListener, FlowableListener listener) protected void
ListenerNotificationHelper.planTransactionDependentTaskListener
(DelegateExecution execution, TransactionDependentTaskListener taskListener, FlowableListener listener) -
Uses of DelegateExecution in org.flowable.engine.impl.bpmn.mail
Methods in org.flowable.engine.impl.bpmn.mail with parameters of type DelegateExecutionModifier and TypeMethodDescriptionvoid
BpmnMailActivityDelegate.execute
(DelegateExecution execution) protected FlowableMailClient
BpmnMailActivityDelegate.getMailClient
(DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.impl.bpmn.webservice
Methods in org.flowable.engine.impl.bpmn.webservice with parameters of type DelegateExecutionModifier and TypeMethodDescriptionvoid
MessageImplicitDataInputAssociation.evaluate
(DelegateExecution execution) void
MessageImplicitDataOutputAssociation.evaluate
(DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.impl.delegate
Fields in org.flowable.engine.impl.delegate declared as DelegateExecutionModifier and TypeFieldDescriptionprotected final DelegateExecution
ActivityBehaviorInvocation.execution
Methods in org.flowable.engine.impl.delegate with parameters of type DelegateExecutionModifier and TypeMethodDescriptionJsonVariableAggregator.aggregateMultiVariables
(DelegateExecution execution, List<? extends VariableInstance> instances, VariableAggregatorContext context) JsonVariableAggregator.aggregateSingleVariable
(DelegateExecution execution, VariableAggregatorContext context) void
SubProcessActivityBehavior.completed
(DelegateExecution execution) called after the process instance is destroyed for this activity to perform its outgoing control flow logic.void
SubProcessActivityBehavior.completing
(DelegateExecution execution, DelegateExecution subProcessInstance) called before the process instance is destroyed to allow this activity to extract data from the sub process instance.void
ActivityBehavior.execute
(DelegateExecution execution) void
ActivityWithMigrationContextBehavior.execute
(DelegateExecution execution, MigrationContext migrationContext) void
InterruptibleActivityBehaviour.interrupted
(DelegateExecution execution) FlowableCollectionHandler.resolveCollection
(Object collectionValue, DelegateExecution execution) void
TriggerableActivityBehavior.trigger
(DelegateExecution execution, String signalEvent, Object signalData) Constructors in org.flowable.engine.impl.delegate with parameters of type DelegateExecutionModifierConstructorDescriptionActivityBehaviorInvocation
(ActivityBehavior behaviorInstance, DelegateExecution execution) ReadOnlyDelegateExecutionImpl
(DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.impl.delegate.invocation
Fields in org.flowable.engine.impl.delegate.invocation declared as DelegateExecutionModifier and TypeFieldDescriptionprotected final DelegateExecution
ExecutionListenerInvocation.execution
protected final DelegateExecution
FutureJavaDelegateInvocation.execution
protected final DelegateExecution
JavaDelegateInvocation.execution
Constructors in org.flowable.engine.impl.delegate.invocation with parameters of type DelegateExecutionModifierConstructorDescriptionExecutionListenerInvocation
(ExecutionListener executionListenerInstance, DelegateExecution execution) FutureJavaDelegateInvocation
(FutureJavaDelegate<?> delegateInstance, DelegateExecution execution, AsyncTaskInvoker asyncTaskInvoker) JavaDelegateInvocation
(JavaDelegate delegateInstance, DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.impl.el
Methods in org.flowable.engine.impl.el with parameters of type DelegateExecutionModifier and TypeMethodDescriptionboolean
UelExpressionCondition.evaluate
(String sequenceFlowId, DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.impl.event
Methods in org.flowable.engine.impl.event with parameters of type DelegateExecutionModifier and TypeMethodDescriptionstatic String
EventDefinitionExpressionUtil.determineMessageName
(CommandContext commandContext, MessageEventDefinition messageEventDefinition, DelegateExecution execution) Determines the event name of theMessageEventDefinition
that is passed: - if a message ref is set, it has precedence - if a messageExpression is set, it is returned Note that, contrary to the determineSignalName method, the name of the message is never used.static String
EventDefinitionExpressionUtil.determineSignalName
(CommandContext commandContext, SignalEventDefinition signalEventDefinition, BpmnModel bpmnModel, DelegateExecution execution) Determines the signal name of theSignalEventDefinition
that is passed: - if a signal name is set, it has precedence - otherwise, the signal ref is used - unless a signalExpression is set -
Uses of DelegateExecution in org.flowable.engine.impl.persistence.entity
Subinterfaces of DelegateExecution in org.flowable.engine.impl.persistence.entityClasses in org.flowable.engine.impl.persistence.entity that implement DelegateExecution -
Uses of DelegateExecution in org.flowable.engine.impl.scripting
Methods in org.flowable.engine.impl.scripting with parameters of type DelegateExecutionModifier and TypeMethodDescriptionboolean
ScriptCondition.evaluate
(String sequenceFlowId, DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.impl.test
Methods in org.flowable.engine.impl.test with parameters of type DelegateExecution -
Uses of DelegateExecution in org.flowable.engine.impl.util
Methods in org.flowable.engine.impl.util that return DelegateExecutionModifier and TypeMethodDescriptionstatic DelegateExecution
ExecutionGraphUtil.getMultiInstanceRootExecution
(ExecutionEntity execution) static DelegateExecution
ExecutionGraphUtil.getParentInstanceExecutionInMultiInstance
(ExecutionEntity execution) Methods in org.flowable.engine.impl.util with parameters of type DelegateExecutionModifier and TypeMethodDescriptionstatic void
BpmnLoggingSessionUtil.addErrorLoggingData
(String type, String message, Throwable t, DelegateExecution execution) static void
BpmnLoggingSessionUtil.addLoggingData
(String type, String message, DelegateExecution execution) static void
BpmnLoggingSessionUtil.addLoggingData
(String type, String message, TaskEntity task, DelegateExecution execution) static void
BpmnLoggingSessionUtil.addTaskIdentityLinkData
(String type, String message, boolean isUser, List<IdentityLinkEntity> identityLinkEntities, TaskEntity task, DelegateExecution execution) static com.fasterxml.jackson.databind.node.ObjectNode
BpmnLoggingSessionUtil.fillBasicTaskLoggingData
(String message, TaskEntity task, DelegateExecution execution) protected static void
BpmnLoggingSessionUtil.fillFlowElementInfo
(com.fasterxml.jackson.databind.node.ObjectNode loggingNode, DelegateExecution execution) ExecutionGraphUtil.getBoundaryEventActivityIds
(DelegateExecution execution) Returns the list of boundary event activity ids that are in the the process model, associated with the current activity of the passed execution. -
Uses of DelegateExecution in org.flowable.engine.impl.util.condition
Methods in org.flowable.engine.impl.util.condition with parameters of type DelegateExecutionModifier and TypeMethodDescriptionstatic boolean
ConditionUtil.hasTrueCondition
(SequenceFlow sequenceFlow, DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.impl.variable
Methods in org.flowable.engine.impl.variable with parameters of type DelegateExecutionModifier and TypeMethodDescriptionstatic VariableInstanceEntity
BpmnAggregation.aggregate
(DelegateExecution execution, DelegateExecution parentExecution, VariableAggregatorContext aggregationContext, ProcessEngineConfigurationImpl processEngineConfiguration) Create an aggregated variable instance for the given aggregation context.static VariableInstanceEntity
BpmnAggregation.aggregate
(DelegateExecution execution, DelegateExecution parentExecution, VariableAggregatorContext aggregationContext, ProcessEngineConfigurationImpl processEngineConfiguration, VariableAggregator aggregator, String targetVarName) static VariableInstanceEntity
BpmnAggregation.aggregateComplete
(DelegateExecution execution, DelegateExecution parentExecution, VariableAggregationDefinition aggregation, ProcessEngineConfigurationImpl processEngineConfiguration) Create an aggregated variable instance for a completed execution.static String
BpmnAggregation.getAggregationTargetVarName
(VariableAggregationDefinition aggregation, DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration) static Map<String,
VariableAggregationDefinition> BpmnAggregation.groupAggregationsByTarget
(DelegateExecution multiInstanceRootExecution, Collection<VariableAggregationDefinition> aggregations, ProcessEngineConfigurationImpl processEngineConfiguration) static VariableAggregator
BpmnAggregation.resolveVariableAggregator
(VariableAggregationDefinition aggregation, DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.interceptor
Fields in org.flowable.engine.interceptor declared as DelegateExecutionModifier and TypeFieldDescriptionprotected final DelegateExecution
CreateExternalWorkerJobAfterContext.execution
protected final DelegateExecution
CreateExternalWorkerJobBeforeContext.execution
protected DelegateExecution
CreateUserTaskAfterContext.execution
protected DelegateExecution
CreateUserTaskBeforeContext.execution
Methods in org.flowable.engine.interceptor that return DelegateExecutionModifier and TypeMethodDescriptionCreateExternalWorkerJobAfterContext.getExecution()
CreateExternalWorkerJobBeforeContext.getExecution()
CreateUserTaskAfterContext.getExecution()
CreateUserTaskBeforeContext.getExecution()
Methods in org.flowable.engine.interceptor with parameters of type DelegateExecutionModifier and TypeMethodDescriptionvoid
CreateUserTaskAfterContext.setExecution
(DelegateExecution execution) void
CreateUserTaskBeforeContext.setExecution
(DelegateExecution execution) Constructors in org.flowable.engine.interceptor with parameters of type DelegateExecutionModifierConstructorDescriptionCreateExternalWorkerJobAfterContext
(ExternalWorkerServiceTask externalWorkerServiceTask, ExternalWorkerJobEntity externalWorkerJobEntity, DelegateExecution execution) CreateExternalWorkerJobBeforeContext
(ExternalWorkerServiceTask externalWorkerServiceTask, DelegateExecution execution, String jobCategory) CreateUserTaskAfterContext
(UserTask userTask, TaskEntity taskEntity, DelegateExecution execution) CreateUserTaskBeforeContext
(UserTask userTask, DelegateExecution execution, String name, String description, String dueDate, String priority, String category, String formKey, String skipExpression, String assignee, String owner, List<String> candidateUsers, List<String> candidateGroups)