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 CallActivity
static final String
static final String
protected String
protected Boolean
protected List<MapExceptionEntry>
Fields inherited from class org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
multiInstanceActivityBehavior, v5MultiInstanceActivityBehavior
Fields inherited from class org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
completed
(DelegateExecution execution) called after the process instance is destroyed for this activity to perform its outgoing control flow logic.void
completing
(DelegateExecution execution, DelegateExecution subProcessInstance) called before the process instance is destroyed to allow this activity to extract data from the sub process instance.void
execute
(DelegateExecution execution) Default behaviour: just leave the activity with no extra functionality.protected String
getCalledElementValue
(DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration) protected ProcessDefinition
getProcessDefinition
(DelegateExecution execution, CallActivity callActivity, ProcessEngineConfigurationImpl processEngineConfiguration) protected ProcessDefinition
getProcessDefinitionById
(DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration) protected ProcessDefinition
getProcessDefinitionByKey
(DelegateExecution execution, boolean isSameDeployment, ProcessEngineConfigurationImpl processEngineConfiguration) protected void
initializeTransientVariables
(ExecutionEntity subProcessInstance, Map<String, Object> transientVariables) protected void
initializeVariables
(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, setV5MultiInstanceActivityBehavior
Methods 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:FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.- Specified by:
execute
in interfaceActivityBehavior
- Overrides:
execute
in 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:SubProcessActivityBehavior
called 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:
completing
in interfaceSubProcessActivityBehavior
- Throws:
Exception
-
completed
Description copied from interface:SubProcessActivityBehavior
called after the process instance is destroyed for this activity to perform its outgoing control flow logic.- Specified by:
completed
in 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)
-