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.agenda, commandContext, execution| Constructor and Description |
|---|
EndExecutionOperation(CommandContext commandContext,
ExecutionEntity execution) |
executeExecutionListeners, executeExecutionListeners, findFirstParentScopeExecution, getAgenda, getCommandContext, getCurrentFlowElement, getExecution, setAgenda, setCommandContext, setExecutionpublic EndExecutionOperation(CommandContext commandContext, ExecutionEntity execution)
public void run()
protected void handleProcessInstanceExecution(ExecutionEntity processInstanceExecution)
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 © 2017 Flowable. All rights reserved.