public class CallActivityBehavior extends AbstractBpmnActivityBehavior implements SubProcessActivityBehavior
| Modifier and Type | Field and Description |
|---|---|
protected org.flowable.bpmn.model.CallActivity |
callActivity |
static String |
CALLED_ELEMENT_TYPE_ID |
static String |
CALLED_ELEMENT_TYPE_KEY |
protected String |
calledElementType |
protected Boolean |
fallbackToDefaultTenant |
protected List<org.flowable.bpmn.model.MapExceptionEntry> |
mapExceptions |
multiInstanceActivityBehaviorbpmnActivityBehavior| Constructor and Description |
|---|
CallActivityBehavior(org.flowable.bpmn.model.CallActivity callActivity) |
| Modifier and Type | Method and Description |
|---|---|
void |
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,
org.flowable.bpmn.model.CallActivity callActivity,
ProcessEngineConfigurationImpl processEngineConfiguration) |
protected ProcessDefinition |
getProcessDefinitionById(DelegateExecution execution,
ProcessEngineConfigurationImpl processEngineConfiguration) |
protected ProcessDefinition |
getProcessDefinitionByKey(DelegateExecution execution,
boolean isSameDeployment,
ProcessEngineConfigurationImpl processEngineConfiguration) |
protected void |
initializeVariables(ExecutionEntity subProcessInstance,
Map<String,Object> variables) |
protected Map<String,Object> |
processDataObjects(Collection<org.flowable.bpmn.model.ValuedDataObject> dataObjects) |
executeCompensateBoundaryEvents, findBoundaryEventsForFlowNode, getMultiInstanceActivityBehavior, getProcessDefinition, hasLoopCharacteristics, hasMultiInstanceCharacteristics, leave, setMultiInstanceActivityBehaviorleaveIgnoreConditions, parseActivityType, triggerpublic static final String CALLED_ELEMENT_TYPE_KEY
public static final String CALLED_ELEMENT_TYPE_ID
protected org.flowable.bpmn.model.CallActivity callActivity
protected String calledElementType
protected Boolean fallbackToDefaultTenant
protected List<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions
public CallActivityBehavior(org.flowable.bpmn.model.CallActivity callActivity)
public void execute(DelegateExecution execution)
FlowNodeActivityBehaviorexecute in interface ActivityBehaviorexecute in class FlowNodeActivityBehaviorprotected ProcessDefinition getProcessDefinition(DelegateExecution execution, org.flowable.bpmn.model.CallActivity callActivity, ProcessEngineConfigurationImpl processEngineConfiguration)
public void completing(DelegateExecution execution, DelegateExecution subProcessInstance) throws Exception
SubProcessActivityBehaviorcompleting in interface SubProcessActivityBehaviorExceptionpublic void completed(DelegateExecution execution) throws Exception
SubProcessActivityBehaviorcompleted in interface SubProcessActivityBehaviorExceptionprotected ProcessDefinition getProcessDefinitionById(DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration)
protected ProcessDefinition getProcessDefinitionByKey(DelegateExecution execution, boolean isSameDeployment, ProcessEngineConfigurationImpl processEngineConfiguration)
protected String getCalledElementValue(DelegateExecution execution, ProcessEngineConfigurationImpl processEngineConfiguration)
protected Map<String,Object> processDataObjects(Collection<org.flowable.bpmn.model.ValuedDataObject> dataObjects)
protected void initializeVariables(ExecutionEntity subProcessInstance, Map<String,Object> variables)
Copyright © 2020 Flowable. All rights reserved.