Class ServiceTaskExpressionActivityBehavior
java.lang.Object
org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
org.flowable.engine.impl.bpmn.behavior.TaskActivityBehavior
org.flowable.engine.impl.bpmn.behavior.ServiceTaskExpressionActivityBehavior
- All Implemented Interfaces:
Serializable
,ActivityBehavior
,TriggerableActivityBehavior
ActivityBehavior that evaluates an expression when executed. Optionally, it sets the result of the expression as a variable on the execution.
- Author:
- Tom Baeyens, Christian Stettler, Frederik Heremans, Slawomir Wojtasiak (Patch for ACT-1159), Falko Menge, Filip Hrisafov
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Expression
protected List<MapExceptionEntry>
protected String
protected String
protected Expression
protected boolean
protected boolean
protected boolean
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
ConstructorsConstructorDescriptionServiceTaskExpressionActivityBehavior
(ServiceTask serviceTask, Expression expression, Expression skipExpression) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(DelegateExecution execution) Default behaviour: just leave the activity with no extra functionality.protected void
handleException
(Throwable exc, DelegateExecution execution) protected void
setExecutionVariableValue
(Object value, DelegateExecution execution) void
trigger
(DelegateExecution execution, String signalName, Object signalData) Methods inherited from class org.flowable.engine.impl.bpmn.behavior.TaskActivityBehavior
getActiveValueList
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
-
Field Details
-
serviceTaskId
-
expression
-
skipExpression
-
resultVariable
-
mapExceptions
-
useLocalScopeForResultVariable
protected boolean useLocalScopeForResultVariable -
triggerable
protected boolean triggerable -
storeResultVariableAsTransient
protected boolean storeResultVariableAsTransient
-
-
Constructor Details
-
ServiceTaskExpressionActivityBehavior
public ServiceTaskExpressionActivityBehavior(ServiceTask serviceTask, Expression expression, Expression skipExpression)
-
-
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
-
handleException
-
setExecutionVariableValue
-
trigger
- Specified by:
trigger
in interfaceTriggerableActivityBehavior
- Overrides:
trigger
in classFlowNodeActivityBehavior
-