Scenarios
Overview
A script is a subroutine that extends system functionality or adds flexibility to business processes through project customization.
Scripts are created in the "Script Editor" web application or can be managed through the API corresponding to the type of script. Script editing is done in visual mode by customizing component properties and linking them with execution sequences. A script is stored as a JSON structure, it can contain attachments in the file system - static files attached to a particular script, for example, audio recordings.
Scenarios are interpreted by the system. Each scenario can be executed simultaneously in a large number of instances by scenario handlers.
Scripts are triggered by events, can operate on incoming data and various functions to access system data.
Scenarios are categorized into types. Each type of scenario has:
-
specific purpose,
-
specific categories of owners (the process that initiates and controls its launch),
-
specific application points (events that trigger an instance of the script handler),
-
highlighted components that provide this type of scenarios with specific functionality.
All kinds of scenarios can operate:
-
variables with different scopes;
-
expressions and functions;
-
system entities via API or special components;
-
data from the system kernel, delivered to the script variables by special components or expression functions;
-
data from external sources via HTTP(S), SQL, S3, LDAP, POP3, SMTP, etc.
-
file system with restrictions.