Script Function: Checks if a certain server processThe core of the component Automation Engine. Different types are available: communication, work and dialog processes, as well as nonstop processes. is active
SYS_SERVER_ALIVE(Server process)
Syntax |
Description/Format |
---|---|
Server process |
Name of the server process whose activityAn activity (or task) is an entity that can be planned, assigned to a user or a team and tracked with respect to their plan and state (started, cancelled, suspended, completed). should be checked |
Return codes |
---|
"Y" - The server process is active |
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 scriptA particular Automation Engine object type. statement causes all open transactions of the script to be written to the AE databaseA database is an organized collection of data including relevant data structures..
In the example, a check is made to determine if the work processA part of the component Automation Engine. It is responsible for an Automation Engine system's processes (see also 'Primary 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
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |