Date: Fri, 29 Mar 2024 10:42:29 +0100 (CET) Message-ID: <590352382.111636.1711705349821@srvdoc.doc.ipesoft.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_111635_1610173328.1711705349821" ------=_Part_111635_1610173328.1711705349821 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
D2000 system provides object Event that is used to proces= s scripts and implementation of various calculations and process algorithms= .
Object of Event type is configured in process D2000 CNF. Durin= g configuration, the following is defined:
The controller of all scripts is process D2000 Event Handler - client process of D2000 sys=
tem. Process provides starting and execution of scripts. This process may b=
e running in multiple instances - in various LAN nodes. Each process D20=
00 Event Handler process handles its own set of scripts that is given b=
y the parent - child relation in the system configuration.
The OPENEVENT action allows =
to "enforce" the execution of =
Server event on another process as defined in the configuration of the =
event.
A script occurs in two various states - running and not runnin= g. If the request to run a script appears, while some of scripts is alr= eady running, then the scripts are processed simultaneously from this momen= t. It is possible to run one script in more instances. If the priority of t= wo scripts is not the same (priority is defined in the script configuration= ), a script with higher priority will be processed first.
Script algorithm is defined using the ESL (Event Script Language). It is just a sequence o= f executable actions. Script termination, changing into the not running sta= te occurs after the script termination (conditions and termination method a= re given by ESL proper= ties). Script termination may be also caused by an error occurrence.
Script algorithm is, when the specified start conditions are met, activa= ted (interpreted) by the particular process D2000 Event Handler (parent process).
Algorithm execution conditions define mainly a priority assigned to the = given script. Priority defines particular preference in the execution of al= gorithms of various scripts in case of their being processed simultaneously= . There are 5 specified priority levels, where the priority of 1 determines= the lowest one, and the priority of 5 is the highest one.
Related pages: