Uses of Interface
org.flowable.engine.delegate.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
Modifier 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
Modifier 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<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions) void
Flowable5CompatibilityHandler.propagateError
(BpmnError bpmnError, DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.debug
Modifier and TypeMethodDescriptionstatic ExecutionTree
ExecutionTreeUtil.buildExecutionTree
(DelegateExecution executionEntity) -
Uses of DelegateExecution in org.flowable.engine.delegate
Modifier and TypeMethodDescriptionDelegateExecution.getParent()
returns the parent of this execution, or null if there no parent.Modifier and TypeMethodDescriptionList<? extends DelegateExecution>
DelegateExecution.getExecutions()
returns the list of execution of which this execution the parent of.Modifier 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, org.flowable.common.engine.api.async.AsyncTaskInvoker taskInvoker) FutureJavaDelegate.execute
(DelegateExecution execution, org.flowable.common.engine.api.async.AsyncTaskInvoker taskInvoker) Perform the execution of the delegate, potentially on another thread.void
JavaDelegate.execute
(DelegateExecution execution) static org.flowable.bpmn.model.BpmnModel
DelegateHelper.getBpmnModel
(DelegateExecution execution) Returns theBpmnModel
matching the process definition bpmn model for the process definition of the passedDelegateExecution
.CustomPropertiesResolver.getCustomPropertiesMap
(DelegateExecution execution) DelegateHelper.getExtensionElements
(DelegateExecution execution) static org.flowable.bpmn.model.FieldExtension
DelegateHelper.getField
(DelegateExecution execution, String fieldName) Returns theFieldExtension
matching the provided 'fieldName' which is defined for the current activity of the providedDelegateExecution
.static org.flowable.common.engine.api.delegate.Expression
DelegateHelper.getFieldExpression
(DelegateExecution execution, String fieldName) Returns theExpression
for the field defined for the current activity of the providedDelegateExecution
.static List<org.flowable.bpmn.model.FieldExtension>
DelegateHelper.getFields
(DelegateExecution execution) Returns the list of field extensions, represented as instances ofFieldExtension
, for the current activity of the passedDelegateExecution
.static org.flowable.bpmn.model.FlowElement
DelegateHelper.getFlowElement
(DelegateExecution execution) Returns the currentFlowElement
where theDelegateExecution
is currently at.DelegateHelper.getFlowElementExtensionElements
(DelegateExecution execution) static org.flowable.bpmn.model.FieldExtension
DelegateHelper.getFlowElementField
(DelegateExecution execution, String fieldName) static org.flowable.common.engine.api.delegate.Expression
DelegateHelper.getFlowElementFieldExpression
(DelegateExecution execution, String fieldName) static List<org.flowable.bpmn.model.FieldExtension>
DelegateHelper.getFlowElementFields
(DelegateExecution execution) DelegateHelper.getListenerExtensionElements
(DelegateExecution execution) static org.flowable.bpmn.model.FieldExtension
DelegateHelper.getListenerField
(DelegateExecution execution, String fieldName) static org.flowable.common.engine.api.delegate.Expression
DelegateHelper.getListenerFieldExpression
(DelegateExecution execution, String fieldName) static List<org.flowable.bpmn.model.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
Modifier and TypeMethodDescriptionprotected DelegateExecution
AbstractFlowableEngineEventListener.getExecution
(org.flowable.common.engine.api.delegate.event.FlowableEngineEvent event) FlowableProcessEngineEvent.getExecution()
Return the execution this event is associated with. -
Uses of DelegateExecution in org.flowable.engine.delegate.event.impl
-
Uses of DelegateExecution in org.flowable.engine.delegate.variable
Modifier and TypeMethodDescriptionVariableAggregator.aggregateMultiVariables
(DelegateExecution execution, List<? extends org.flowable.variable.api.persistence.entity.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
Modifier and TypeMethodDescriptionboolean
Condition.evaluate
(String elementId, DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.interceptor
Modifier and TypeFieldDescriptionprotected final DelegateExecution
CreateExternalWorkerJobAfterContext.execution
protected final DelegateExecution
CreateExternalWorkerJobBeforeContext.execution
protected DelegateExecution
CreateUserTaskAfterContext.execution
protected DelegateExecution
CreateUserTaskBeforeContext.execution
Modifier and TypeMethodDescriptionCreateExternalWorkerJobAfterContext.getExecution()
CreateExternalWorkerJobBeforeContext.getExecution()
CreateUserTaskAfterContext.getExecution()
CreateUserTaskBeforeContext.getExecution()
Modifier and TypeMethodDescriptionvoid
CreateUserTaskAfterContext.setExecution
(DelegateExecution execution) void
CreateUserTaskBeforeContext.setExecution
(DelegateExecution execution) ModifierConstructorDescriptionCreateExternalWorkerJobAfterContext
(org.flowable.bpmn.model.ExternalWorkerServiceTask externalWorkerServiceTask, org.flowable.job.service.impl.persistence.entity.ExternalWorkerJobEntity externalWorkerJobEntity, DelegateExecution execution) CreateExternalWorkerJobBeforeContext
(org.flowable.bpmn.model.ExternalWorkerServiceTask externalWorkerServiceTask, DelegateExecution execution, String jobCategory) CreateUserTaskAfterContext
(org.flowable.bpmn.model.UserTask userTask, org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, DelegateExecution execution) CreateUserTaskBeforeContext
(org.flowable.bpmn.model.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)