public abstract class ScriptTask extends Object
This abstract class must be implemented in order to define a specific action, generally some updates on the repository, in the context of a process execution.
This class is state-less, it is instantiated each time the process instance control flow has reached a script task node.
It is recommended to use ScriptTaskBean
instead, because ScriptTaskBean
allows to declare input and output parameters. By this way, the bean is more dynamic and reusable
(no dependent on data context variables).
UserTask
,
ConditionBean
,
Condition
Constructor and Description |
---|
ScriptTask() |
Modifier and Type | Method and Description |
---|---|
abstract void |
executeScript(ScriptTaskContext aContext)
This method is automatically executed when the control
flow reaches the script task.
|
public abstract void executeScript(ScriptTaskContext aContext) throws OperationException
OperationException