Script Structure
A script always contains one or more script tasks. A script is represented by an instance of
IScript, the contained
tasks are instances of IScriptTask.
Figure 1. Structure of scripts and script tasks
You create the IScript and IScriptTask instance with the Script Factory API.
The script task type (IScriptTaskType) defines where the task could be executed. It also defines the signature of the
task’s code {} block. See the Script Task Types reference for the available script task types.