Script Library

A user with administrator rights can maintain a library of scripts. This will allow the use of scripts in the operator Script in the automation script, as well as call them through the API.

Script creation

  1. On the left sidebar, open the ADMINISTRATION section.
  2. Select WORKFLOWS.
  3. Click on the Plus button in the lower right corner of the screen.
  4. Select Script.
  5. In the New Script pop-up window that opens, enter the name.
  6. Click the Create button.
  7. In the window that opens, enter your script.
  8. Check the script by clicking on the icon in the upper right corner of the screen and select Test Script.
    Note: if there is an error in the code, the message Script Fails will appear.
  9. Click on the Save button in the lower right corner of the screen.

    Script_Library_1.gif

Note: the created script can be used in the Script operator in a workflow. Changes are applied to all script calls. If the remote script was called in other scripts, an error will occur when executing other scripts.

Change script

  1. From the list, select the desired script and open it.
  2. Make changes to the code.
  3. To change the name or description, go to the Settings tab and make the necessary changes.
  4. Click on the Save button in the lower right corner of the screen.

    Script_Library_2.gif

Deleting a script from script page

  1. From the list, select the desired script and open it.
  2. Click on the icon in the upper right corner of the screen and select Delete.
  3. Confirm the action.

    Script_Library_3.gif

Deleting a script from the general list

You can also delete from the list of scripts.

  1. Click the icon next to the name of the script you want to delete.
  2. Select Delete.
  3. Confirm the action.

    Script_Library_4.gif