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 Deployments.RuntimeService: For starting and searching ProcessInstances.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
JavaDelegates.-
Uses of DelegateExecution in org.flowable.engine
Methods in org.flowable.engine with parameters of type DelegateExecutionModifier and TypeMethodDescriptionvoidDecisionTableVariableManager.setDecisionServiceVariablesOnExecution(Map<String, List<Map<String, Object>>> executionResult, String decisionKey, DelegateExecution execution, com.fasterxml.jackson.databind.ObjectMapper objectMapper, boolean multipleResults) voidDecisionTableVariableManager.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) voidFlowable5CompatibilityHandler.leaveExecution(DelegateExecution execution) voidFlowable5CompatibilityHandler.leaveMIExecution(DelegateExecution execution, Object v5MultiInstanceActivityBehavior) booleanFlowable5CompatibilityHandler.mapException(Exception camelException, DelegateExecution execution, List<MapExceptionEntry> mapExceptions) voidFlowable5CompatibilityHandler.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 ExecutionTreeExecutionTreeUtil.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 TypeMethodDescriptionvoidFlowableFutureJavaDelegate.afterExecution(DelegateExecution execution, Output executionData) Method invoked with the result fromFlowableFutureJavaDelegate.execute(Object).voidFutureJavaDelegate.afterExecution(DelegateExecution execution, Output executionData) Method invoked with the result fromFutureJavaDelegate.execute(DelegateExecution, AsyncTaskInvoker).default voidMapBasedFlowableFutureJavaDelegate.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.voidJavaDelegate.execute(DelegateExecution execution) static BpmnModelDelegateHelper.getBpmnModel(DelegateExecution execution) Returns theBpmnModelmatching 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 FieldExtensionDelegateHelper.getField(DelegateExecution execution, String fieldName) Returns theFieldExtensionmatching the provided 'fieldName' which is defined for the current activity of the providedDelegateExecution.static ExpressionDelegateHelper.getFieldExpression(DelegateExecution execution, String fieldName) Returns theExpressionfor 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 FlowElementDelegateHelper.getFlowElement(DelegateExecution execution) Returns the currentFlowElementwhere theDelegateExecutionis currently at.static Map<String, List<ExtensionElement>> DelegateHelper.getFlowElementExtensionElements(DelegateExecution execution) static FieldExtensionDelegateHelper.getFlowElementField(DelegateExecution execution, String fieldName) static ExpressionDelegateHelper.getFlowElementFieldExpression(DelegateExecution execution, String fieldName) static List<FieldExtension> DelegateHelper.getFlowElementFields(DelegateExecution execution) static Map<String, List<ExtensionElement>> DelegateHelper.getListenerExtensionElements(DelegateExecution execution) static FieldExtensionDelegateHelper.getListenerField(DelegateExecution execution, String fieldName) static ExpressionDelegateHelper.getListenerFieldExpression(DelegateExecution execution, String fieldName) static List<FieldExtension> DelegateHelper.getListenerFields(DelegateExecution execution) static booleanDelegateHelper.isExecutingExecutionListener(DelegateExecution execution) Returns whether or not the provided execution is being use for executing anExecutionListener.static voidDelegateHelper.leaveDelegate(DelegateExecution delegateExecution) To be used in anActivityBehaviororJavaDelegate: leaves according to the default BPMN 2.0 rules: all sequenceflow with a condition that evaluates to true are followed.static voidDelegateHelper.leaveDelegate(DelegateExecution delegateExecution, String sequenceFlowId) To be used in anActivityBehaviororJavaDelegate: leaves the current activity via one specific sequenceflow.voidExecutionListener.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 ReadOnlyDelegateExecutionMapBasedFlowableFutureJavaDelegate.prepareExecutionData(DelegateExecution execution) -
Uses of DelegateExecution in org.flowable.engine.delegate.event
Methods in org.flowable.engine.delegate.event that return DelegateExecutionModifier and TypeMethodDescriptionprotected DelegateExecutionAbstractFlowableEngineEventListener.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.interceptor
Fields in org.flowable.engine.interceptor declared as DelegateExecutionModifier and TypeFieldDescriptionprotected final DelegateExecutionCreateExternalWorkerJobAfterContext.executionprotected final DelegateExecutionCreateExternalWorkerJobBeforeContext.executionprotected DelegateExecutionCreateUserTaskAfterContext.executionprotected DelegateExecutionCreateUserTaskBeforeContext.executionMethods 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 TypeMethodDescriptionvoidCreateUserTaskAfterContext.setExecution(DelegateExecution execution) voidCreateUserTaskBeforeContext.setExecution(DelegateExecution execution) Constructors in org.flowable.engine.interceptor with parameters of type DelegateExecutionModifierConstructorDescriptionCreateExternalWorkerJobAfterContext(ExternalWorkerServiceTask externalWorkerServiceTask, org.flowable.job.service.impl.persistence.entity.ExternalWorkerJobEntity externalWorkerJobEntity, DelegateExecution execution) CreateExternalWorkerJobBeforeContext(ExternalWorkerServiceTask externalWorkerServiceTask, DelegateExecution execution, String jobCategory) CreateUserTaskAfterContext(UserTask userTask, org.flowable.task.service.impl.persistence.entity.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)