public class ScriptTaskActivityBehavior extends TaskActivityBehavior
| Modifier and Type | Field and Description |
|---|---|
protected String |
language |
protected String |
resultVariable |
protected String |
script |
protected String |
scriptTaskId |
protected String |
skipExpression |
protected boolean |
storeScriptVariables |
multiInstanceActivityBehaviorbpmnActivityBehavior| Constructor and Description |
|---|
ScriptTaskActivityBehavior(String script,
String language,
String resultVariable) |
ScriptTaskActivityBehavior(String scriptTaskId,
String script,
String language,
String resultVariable,
String skipExpression,
boolean storeScriptVariables) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(DelegateExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
protected void |
executeScript(DelegateExecution execution) |
protected void |
safelyExecuteScript(DelegateExecution execution) |
getActiveValueListexecuteCompensateBoundaryEvents, findBoundaryEventsForFlowNode, getMultiInstanceActivityBehavior, getProcessDefinition, hasLoopCharacteristics, hasMultiInstanceCharacteristics, leave, setMultiInstanceActivityBehaviorleaveIgnoreConditions, parseActivityType, triggerprotected String scriptTaskId
protected String script
protected String language
protected String resultVariable
protected String skipExpression
protected boolean storeScriptVariables
public ScriptTaskActivityBehavior(String script, String language, String resultVariable)
public void execute(DelegateExecution execution)
FlowNodeActivityBehaviorexecute in interface ActivityBehaviorexecute in class FlowNodeActivityBehaviorprotected void safelyExecuteScript(DelegateExecution execution)
protected void executeScript(DelegateExecution execution)
Copyright © 2022 Flowable. All rights reserved.