ScriptEigener Objekttyp in der Automation Engine Function: Checks if a certain server process is active
Syntax
SYS_SERVER_ALIVE(Server process)
Syntax |
Description/Format |
---|---|
Server process |
Name of the server process whose activity should be checked |
Return codes |
---|
"Y" - The server process is active |
Comments
If the indicated server process cannot be found, reaction is possible with :ON_ERROR. Use the script functions for error handling and messages to analyze this error. Script processing can either be continued or canceled.
The script statement causes all open transactions of the script to be written to the AE database.
Example
In the example, a check is made to determine if the work process "AE#WP005" is active. If it is not active, a message is sent to the administrator.
:IF SYS_SERVER_ALIVE("AE#WP005") = "N"
: SEND_MSG "ADMIN","AE","Work process AE#WP005
is not active!"
:ENDIF
See also:
Script Elements - System Conditions and Settings
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function