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

SYS_ACT_RESTART

Script Function: Retrieves whether the objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task was activated in restartA restart refers to the repetition of an object's execution. This action differs from a new start in some parts. 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 taskAn executable object that is running. Tasks are also referred to as activities. 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 (RunIDShort for "run number". It is a number that provides unique information about a task's execution. The RunID can include 7 to 10 digits. It is assigned by the Automation Engine component .) of an object activated in restart mode

Script Elements - Activation Data

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