Class CallActivityBehavior
java.lang.Object
org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
org.flowable.engine.impl.bpmn.behavior.CallActivityBehavior
- All Implemented Interfaces:
Serializable,ActivityBehavior,SubProcessActivityBehavior,TriggerableActivityBehavior
public class CallActivityBehavior
extends AbstractBpmnActivityBehavior
implements SubProcessActivityBehavior
Implementation of the BPMN 2.0 call activity (limited currently to calling a subprocess and not (yet) a global task).
- Author:
- Joram Barrez, Tijs Rademakers
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CallActivitystatic final Stringstatic final Stringprotected Stringprotected Booleanprotected List<MapExceptionEntry>Fields inherited from class org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
multiInstanceActivityBehavior, v5MultiInstanceActivityBehaviorFields inherited from class org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompleted(DelegateExecution execution) called after the process instance is destroyed for this activity to perform its outgoing control flow logic.voidcompleting(DelegateExecution execution, DelegateExecution subProcessInstance) called before the process instance is destroyed to allow this activity to extract data from the sub process instance.voidexecute(DelegateExecution execution) Default behaviour: just leave the activity with no extra functionality.protected StringgetCalledElementValue(DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration) protected ProcessDefinitiongetProcessDefinition(DelegateExecution execution, CallActivity callActivity, ProcessEngineConfigurationImpl processEngineConfiguration) protected ProcessDefinitiongetProcessDefinitionById(DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration) protected ProcessDefinitiongetProcessDefinitionByKey(DelegateExecution execution, boolean isSameDeployment, ProcessEngineConfigurationImpl processEngineConfiguration) protected voidinitializeTransientVariables(ExecutionEntity subProcessInstance, Map<String, Object> transientVariables) protected voidinitializeVariables(ExecutionEntity subProcessInstance, Map<String, Object> variables) processDataObjects(Collection<ValuedDataObject> dataObjects) Methods inherited from class org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
executeCompensateBoundaryEvents, findBoundaryEventsForFlowNode, getMultiInstanceActivityBehavior, getProcessDefinition, getV5MultiInstanceActivityBehavior, hasLoopCharacteristics, hasMultiInstanceCharacteristics, leave, setMultiInstanceActivityBehavior, setV5MultiInstanceActivityBehaviorMethods inherited from class org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leaveIgnoreConditions, parseActivityType, trigger
-
Field Details
-
CALLED_ELEMENT_TYPE_KEY
- See Also:
-
CALLED_ELEMENT_TYPE_ID
- See Also:
-
callActivity
-
calledElementType
-
fallbackToDefaultTenant
-
mapExceptions
-
-
Constructor Details
-
CallActivityBehavior
-
-
Method Details
-
execute
Description copied from class:FlowNodeActivityBehaviorDefault behaviour: just leave the activity with no extra functionality.- Specified by:
executein interfaceActivityBehavior- Overrides:
executein classFlowNodeActivityBehavior
-
getProcessDefinition
protected ProcessDefinition getProcessDefinition(DelegateExecution execution, CallActivity callActivity, ProcessEngineConfigurationImpl processEngineConfiguration) -
completing
public void completing(DelegateExecution execution, DelegateExecution subProcessInstance) throws Exception Description copied from interface:SubProcessActivityBehaviorcalled before the process instance is destroyed to allow this activity to extract data from the sub process instance. No control flow should be done on the execution yet.- Specified by:
completingin interfaceSubProcessActivityBehavior- Throws:
Exception
-
completed
Description copied from interface:SubProcessActivityBehaviorcalled after the process instance is destroyed for this activity to perform its outgoing control flow logic.- Specified by:
completedin interfaceSubProcessActivityBehavior- Throws:
Exception
-
getProcessDefinitionById
protected ProcessDefinition getProcessDefinitionById(DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration) -
getProcessDefinitionByKey
protected ProcessDefinition getProcessDefinitionByKey(DelegateExecution execution, boolean isSameDeployment, ProcessEngineConfigurationImpl processEngineConfiguration) -
getCalledElementValue
protected String getCalledElementValue(DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration) -
processDataObjects
-
initializeVariables
protected void initializeVariables(ExecutionEntity subProcessInstance, Map<String, Object> variables) -
initializeTransientVariables
protected void initializeTransientVariables(ExecutionEntity subProcessInstance, Map<String, Object> transientVariables)
-