Package com.orchestranetworks.workflow
Class ScriptTask
java.lang.Object
com.orchestranetworks.workflow.ScriptTask
Script task node, represents an automatic task during a process execution.
Example of ScriptTask.
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 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).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
executeScript
(ScriptTaskContext aContext) This method is automatically executed when the control flow reaches the script task.
-
Constructor Details
-
ScriptTask
public ScriptTask()
-
-
Method Details
-
executeScript
This method is automatically executed when the control flow reaches the script task.- Throws:
OperationException
-