TOGGLE_SYSTEM_STATUS

Script Function: Stops or starts the automatic processing of a clientEnvironnement indépendant pour la création et l'exécution d'objets dans un système AE. Le nom d'un client est un nombre de quatre chiffres à saisir lors de la connexion d'un utilisateur au système AE. Les utilisateurs et leurs droits y sont aussi définis.Egalement un type d'objet distinct dans l'Automation Engine.

Syntax

TOGGLE_SYSTEM_STATUS(Status)

Syntax

Description/Format

Status

Status modification
Format: AE name, script literal or script literal

Allowed values: "STOP" and "GO"
"STOP" - stops the automatic processing of a client
"GO" - starts the automatic processing of a client


Return codes

"0" - The client status has successfully been changed.
"9" - The required privilege for changing the client status is missing.

Comments

This scriptEgalement un type d'objet distinct dans l'Automation Engine. function sets the system status to STOP or GO.

 This script function can only be executed if the privilege "Change system status (STOP/GO)" was assigned!

The script statement causes all open transactions of the script to be written to the AE database.

Examples

The following example stops the automatic processing. The return value of this script function is written to the report.

:SET &RET# = TOGGLE_SYSTEM_STATUS(STOP)
:
PRINT &RET#

See also:

Script element Description

TOGGLE_OBJECT_STATUS

Stops or starts the automatic processing of workflows, groups, events or schedules

Script Elements - System Conditions and Settings

Changing System Status

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by Function