public class ParallelMultiInstanceBehavior extends MultiInstanceActivityBehavior
activity, collectionElementIndexVariable, collectionElementVariable, collectionExpression, collectionHandler, collectionString, collectionVariable, completionCondition, DELETE_REASON_END, innerActivityBehavior, LOGGER, loopCardinalityExpression, NUMBER_OF_ACTIVE_INSTANCES, NUMBER_OF_COMPLETED_INSTANCES, NUMBER_OF_INSTANCESbpmnActivityBehavior| Constructor and Description |
|---|
ParallelMultiInstanceBehavior(org.flowable.bpmn.model.Activity activity,
AbstractBpmnActivityBehavior originalActivityBehavior) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
createInstances(DelegateExecution multiInstanceRootExecution)
Handles the parallel case of spawning the instances.
|
void |
leave(DelegateExecution execution)
Called when the wrapped
ActivityBehavior calls the AbstractBpmnActivityBehavior.leave(DelegateExecution) method. |
protected void |
lockFirstParentScope(DelegateExecution execution) |
protected void |
verifyCallActivity(ExecutionEntity executionToUse,
org.flowable.bpmn.model.Activity activity) |
protected org.flowable.bpmn.model.Activity |
verifyCompensation(DelegateExecution execution,
ExecutionEntity executionToUse,
org.flowable.bpmn.model.Activity activity) |
buildCompletedEvent, callActivityEndListeners, cleanupMiRoot, completed, completing, completionConditionSatisfied, createFlowableCollectionHandler, execute, executeCompensationBoundaryEvents, executeOriginalBehavior, findBoundaryEventsForFlowNode, getActiveValue, getCollectionElementIndexVariable, getCollectionElementVariable, getCollectionExpression, getCollectionString, getCollectionVariable, getCompletionCondition, getHandler, getInnerActivityBehavior, getLocalLoopVariable, getLoopCardinalityExpression, getLoopVariable, getMultiInstanceRootExecution, getProcessDefinition, isExtraScopeNeeded, iterableToCollection, lastExecutionEnded, logLoopDetails, resolveAndValidateCollection, resolveCollection, resolveLoopCardinality, resolveNrOfInstances, sendCompletedEvent, sendCompletedWithConditionEvent, setCollectionElementIndexVariable, setCollectionElementVariable, setCollectionExpression, setCollectionString, setCollectionVariable, setCompletionCondition, setHandler, setInnerActivityBehavior, setLoopCardinalityExpression, setLoopVariable, trigger, usesCollectionleaveIgnoreConditions, parseActivityTypepublic ParallelMultiInstanceBehavior(org.flowable.bpmn.model.Activity activity,
AbstractBpmnActivityBehavior originalActivityBehavior)
protected int createInstances(DelegateExecution multiInstanceRootExecution)
createInstances in class MultiInstanceActivityBehaviorpublic void leave(DelegateExecution execution)
ActivityBehavior calls the AbstractBpmnActivityBehavior.leave(DelegateExecution) method. Handles the completion of one of the parallel instancesleave in class MultiInstanceActivityBehaviorprotected org.flowable.bpmn.model.Activity verifyCompensation(DelegateExecution execution, ExecutionEntity executionToUse, org.flowable.bpmn.model.Activity activity)
protected void verifyCallActivity(ExecutionEntity executionToUse, org.flowable.bpmn.model.Activity activity)
protected void lockFirstParentScope(DelegateExecution execution)
Copyright © 2020 Flowable. All rights reserved.