Automation Engine Script Guide > Ordered by Function > Activation Data > SYS_ACT_RESTART

SYS_ACT_RESTART

Script Function: Retrieves whether the object was activated in restart mode

Syntax

SYS_ACT_RESTART()

Return codes

"Y" - The object was activated in restart mode.
"N" - The object was not activated in restart mode.

Example

In the following example, particular processing steps that were integrated in an Include are only executed when the task was activated in restart mode.

:IF SYS_ACT_RESTART() = "Y"
:   
INCLUDE "INCL.RESTART.PROC"
:
ENDIF

 

See also:

Script element Description

:RESTART

This is used to set restart points in an executable object
SYS_ACT_RESTART_ME_NR Returns the run number (RunID) of an object activated in restart mode

Script Elements - Activation Data

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by function