Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Server-side scripts allow the system running JS scripts on the server-side when the server events happen, for example:

  • writing or updating any data into the database;updating data in the database;
  • an incoming message
  • due date and time occurrence
  • calling specified UI action
  • the Run Script activity processing within a workflow.

They are used to create reactions for the data writing based on the pre-defined rules, such as:

  1. record saving database transaction interrupting;
  2. associative record creation (once the record is created, one more will be created in return);
  3. configuration of the record creation initiated by incoming email (the incident is created upon receipt of an email) and so on.

In the server-side scripts, you can use native JavaScript and methods that are provided by server-side API.

...