Working with the «Script» operator

You can integrate with external systems using javascript. The system supports ECMAScript 6.0 standard. The script NiL.JS is used to interpret the scripts.

  1. Open the ADMINISTRATION section of the main menu.
  2. Select WORKFLOWS.
  3. Open an existing script or create a new one.
  4. Click the plus in the middle of the page and select the Script operator.
  5. In the sidebar on the right, click on the square icon in the Script field.
  6. Enter the code in the opened field.
    Note: you can use a script from the script library using the call “import {variable name} from 'script name'”.
  7. Click on the Save button.
  8. You can check your code. To do this, click on the Test script button.

    Note: if there are errors in the code, the message Script Fails will appear.

    script.gif