Class CaseTaskActivityBehavior
java.lang.Object
org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
org.flowable.engine.impl.bpmn.behavior.CaseTaskActivityBehavior
- All Implemented Interfaces:
Serializable
,ActivityBehavior
,SubProcessActivityBehavior
,TriggerableActivityBehavior
public class CaseTaskActivityBehavior
extends AbstractBpmnActivityBehavior
implements SubProcessActivityBehavior
Start a CMMN case with the case service task
- Author:
- Tijs Rademakers, Joram Barrez
- See Also:
-
Field Summary
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
getCaseDefinitionKey
(String caseDefinitionKeyExpression, VariableContainer variableContainer, ExpressionManager expressionManager) void
triggerCaseTask
(DelegateExecution execution, Map<String, Object> variables) void
triggerCaseTaskAndLeave
(DelegateExecution execution, Map<String, Object> variables) 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
-
Constructor Details
-
CaseTaskActivityBehavior
public CaseTaskActivityBehavior()
-
-
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
-
getCaseDefinitionKey
protected String getCaseDefinitionKey(String caseDefinitionKeyExpression, VariableContainer variableContainer, ExpressionManager expressionManager) -
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
-
triggerCaseTaskAndLeave
-
triggerCaseTask
-