public class CallActivityBehavior extends AbstractBpmnActivityBehavior implements SubProcessActivityBehavior
| Modifier and Type | Field and Description |
|---|---|
static String |
CALLED_ELEMENT_TYPE_ID |
static String |
CALLED_ELEMENT_TYPE_KEY |
protected String |
calledElement |
protected Expression |
calledElementExpression |
protected String |
calledElementType |
protected Boolean |
fallbackToDefaultTenant |
protected List<org.flowable.bpmn.model.MapExceptionEntry> |
mapExceptions |
multiInstanceActivityBehaviorbpmnActivityBehavior| Constructor and Description |
|---|
CallActivityBehavior(Expression processDefinitionExpression,
String calledElementType,
List<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions,
Boolean fallbackToDefaultTenant) |
CallActivityBehavior(String processDefinitionKey,
String calledElementType,
Boolean fallbackToDefaultTenant,
List<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions) |
| 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.
|
String |
getCalledElement() |
protected String |
getCalledElementValue(DelegateExecution execution) |
protected ProcessDefinition |
getProcessDefinition(DelegateExecution execution,
org.flowable.bpmn.model.CallActivity callActivity,
ProcessEngineConfigurationImpl processEngineConfiguration) |
protected ProcessDefinition |
getProcessDefinitionById(DelegateExecution execution) |
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) |
void |
setCalledElement(String calledElement) |
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 String calledElement
protected String calledElementType
protected Expression calledElementExpression
protected Boolean fallbackToDefaultTenant
protected List<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions
public CallActivityBehavior(String processDefinitionKey, String calledElementType, Boolean fallbackToDefaultTenant, List<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions)
public CallActivityBehavior(Expression processDefinitionExpression, String calledElementType, List<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions, Boolean fallbackToDefaultTenant)
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)
protected ProcessDefinition getProcessDefinitionByKey(DelegateExecution execution, boolean isSameDeployment, ProcessEngineConfigurationImpl processEngineConfiguration)
protected String getCalledElementValue(DelegateExecution execution)
protected Map<String,Object> processDataObjects(Collection<org.flowable.bpmn.model.ValuedDataObject> dataObjects)
protected void initializeVariables(ExecutionEntity subProcessInstance, Map<String,Object> variables)
public void setCalledElement(String calledElement)
public String getCalledElement()
Copyright © 2019 Flowable. All rights reserved.