Server-side scripts let the system to run JS scripts on the server side when the server events happen, for example:
- writing data into the database;
- updating data in the database;
- incoming message.
They are used to create reactions for the data writing based on the pre-defined rules (business-rules), such as:
- record saving transaction interrupting;
- associative record creation (once the record is created, one more will be created in return);
- 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 methods that are provided by server-side API (description is here).
The subsections of this section will give more details and specifics of server-side scripts usage.