public class EndExecutionOperation extends AbstractOperation
ActivityBehavior, but rather from another operation.
This happens when the conditions are so that the process can't continue via the
regular ways and an execution cleanup needs to happen, potentially opening up new ways of continuing the process instance.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
forceSynchronous |
agenda, commandContext, execution| Constructor and Description |
|---|
EndExecutionOperation(CommandContext commandContext,
ExecutionEntity execution) |
EndExecutionOperation(CommandContext commandContext,
ExecutionEntity execution,
boolean forceSynchronous) |
executeExecutionListeners, executeExecutionListeners, findFirstParentScopeExecution, getAgenda, getCommandContext, getCurrentFlowElement, getExecution, setAgenda, setCommandContext, setExecutionpublic EndExecutionOperation(CommandContext commandContext, ExecutionEntity execution)
public EndExecutionOperation(CommandContext commandContext, ExecutionEntity execution, boolean forceSynchronous)
public void run()
protected void handleProcessInstanceExecution(ExecutionEntity processInstanceExecution)
protected boolean isAsyncCompleteCallActivity(ExecutionEntity superExecution)
protected void scheduleAsyncCompleteCallActivity(ExecutionEntity superExecutionEntity, ExecutionEntity childProcessInstanceExecutionEntity)
protected void handleRegularExecution()
protected ExecutionEntity handleSubProcessEnd(ExecutionEntityManager executionEntityManager, ExecutionEntity parentExecution, org.flowable.bpmn.model.SubProcess subProcess)
protected ExecutionEntity handleRegularExecutionEnd(ExecutionEntityManager executionEntityManager, ExecutionEntity parentExecution)
protected void handleMultiInstanceSubProcess(ExecutionEntityManager executionEntityManager, ExecutionEntity parentExecution)
protected boolean isEndEventInMultiInstanceSubprocess(ExecutionEntity executionEntity)
protected int getNumberOfActiveChildExecutionsForProcessInstance(ExecutionEntityManager executionEntityManager, String processInstanceId)
protected int getNumberOfActiveChildExecutionsForExecution(ExecutionEntityManager executionEntityManager, String executionId)
protected List<ExecutionEntity> getActiveChildExecutionsForExecution(ExecutionEntityManager executionEntityManager, String executionId)
protected List<ExecutionEntity> getEventScopeExecutions(ExecutionEntityManager executionEntityManager, ExecutionEntity parentExecution)
protected boolean allChildExecutionsEnded(ExecutionEntity parentExecutionEntity, ExecutionEntity executionEntityToIgnore)
protected boolean isInEventSubProcess(ExecutionEntity executionEntity)
Copyright © 2019 Flowable. All rights reserved.