Package com.orchestranetworks.workflow
Class ScriptTask
- java.lang.Object
-
- com.orchestranetworks.workflow.ScriptTask
-
public abstract class ScriptTask extends Object
Script task node, represents an automatic task during a process execution.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.
Life cycle
This class is state-less, it is instantiated each time the process instance control flow has reached a script task node.
Example of ScriptTask.It is recommended to use
ScriptTaskBeaninstead, becauseScriptTaskBeanallows to declare input and output parameters. By this way, the bean is more dynamic and reusable (no dependent on data context variables).- See Also:
UserTask,ConditionBean,Condition
-
-
Constructor Summary
Constructors Constructor Description ScriptTask()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidexecuteScript(ScriptTaskContext aContext)This method is automatically executed when the control flow reaches the script task.
-
-
-
Method Detail
-
executeScript
public abstract void executeScript(ScriptTaskContext aContext) throws OperationException
This method is automatically executed when the control flow reaches the script task.- Throws:
OperationException
-
-