A script in ELMA is a named piece of code, written in C#. It can be referred to from another program region. Process scripts allow changing the current process context and interacting with ELMA objects or external information systems.
All scripts of one process version are in a single module. The scripts module for the current process draft is shown on the Scripts tab of the process page (Fig. 1).
Fig. 2. Process page. Scripts tab. Script's context menu.
A script from the Script Builder section will open in Script Builder in a new tab under it's own name.
A script from the Script Editor section will open in Script Editor in a tab under the Script Editor name.
To delete a script, click Delete in the context menu (Fig. 2).
To create a new script, open the context menu, right-click on any free space on the tab and select Add Script (Fig. 3).
Fig. 3. Process page. Scripts tab. Add Script button.
You can also create a script via the settings page of the element which refers to this script. The script creating procedure in ELMA is the same for all elements. For more details on script creation, see the scripts creation page.