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 Expressionprotected List<MapExceptionEntry> protected Stringprotected Stringprotected Expressionprotected booleanprotected booleanprotected booleanFields inherited from class AbstractBpmnActivityBehavior
multiInstanceActivityBehavior, v5MultiInstanceActivityBehaviorFields inherited from class FlowNodeActivityBehavior
bpmnActivityBehavior -
Constructor Summary
ConstructorsConstructorDescriptionServiceTaskExpressionActivityBehavior(ServiceTask serviceTask, Expression expression, Expression skipExpression) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(DelegateExecution execution) Default behaviour: just leave the activity with no extra functionality.protected voidhandleException(Throwable exc, DelegateExecution execution) protected voidsetExecutionVariableValue(Object value, DelegateExecution execution) voidtrigger(DelegateExecution execution, String signalName, Object signalData) Methods inherited from class TaskActivityBehavior
getActiveValueListMethods inherited from class AbstractBpmnActivityBehavior
executeCompensateBoundaryEvents, findBoundaryEventsForFlowNode, getMultiInstanceActivityBehavior, getProcessDefinition, getV5MultiInstanceActivityBehavior, hasLoopCharacteristics, hasMultiInstanceCharacteristics, leave, setMultiInstanceActivityBehavior, setV5MultiInstanceActivityBehaviorMethods inherited from class 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:FlowNodeActivityBehaviorDefault behaviour: just leave the activity with no extra functionality.- Specified by:
executein interfaceActivityBehavior- Overrides:
executein classFlowNodeActivityBehavior
-
handleException
-
setExecutionVariableValue
-
trigger
- Specified by:
triggerin interfaceTriggerableActivityBehavior- Overrides:
triggerin classFlowNodeActivityBehavior
-