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 List<org.flowable.bpmn.model.MapExceptionEntry> |
mapExceptions |
multiInstanceActivityBehaviorbpmnActivityBehavior| Constructor and Description |
|---|
CallActivityBehavior(Expression processDefinitionExpression,
String calledElementType,
List<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions) |
CallActivityBehavior(String processDefinitionKey,
String calledElementType,
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.
|
protected ProcessDefinition |
findProcessDefinitionByKey(String processDefinitionKey,
String processDefinitionId,
String tenantId,
boolean sameDeployment) |
String |
getCalledElement() |
protected String |
getCalledElementValue(DelegateExecution execution) |
protected ProcessDefinition |
getProcessDefinitionById(DelegateExecution execution) |
protected ProcessDefinition |
getProcessDefinitionByKey(DelegateExecution execution,
boolean isSameDeployment) |
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 List<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions
public CallActivityBehavior(String processDefinitionKey, String calledElementType, List<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions)
public CallActivityBehavior(Expression processDefinitionExpression, String calledElementType, List<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions)
public void execute(DelegateExecution execution)
FlowNodeActivityBehaviorexecute in interface ActivityBehaviorexecute in class FlowNodeActivityBehaviorpublic 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)
protected String getCalledElementValue(DelegateExecution execution)
protected ProcessDefinition findProcessDefinitionByKey(String processDefinitionKey, String processDefinitionId, String tenantId, boolean sameDeployment)
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 © 2018 Flowable. All rights reserved.