Script Elements for Restarting Tasks

The Automation Engine scripting language includes several elements that you can use to define restart points, and retrieve information about restarts.

Restart a Task

Define Restart Points and Behavior

  • :GENERATE
    Determines which script lines are processed

  • :RESTART
    Defines a restart point in an executable object

Retrieve Information about a Restart Point

  • SYS_LAST_RESTART_POINT
    Returns the name of the previous restart point in the script

  • SYS_LAST_RESTART_TEXT
    Returns the text of the previous restart point as defined in the script

  • SYS_RESTART_POINT
    Returns the restart point from which the object will be executed.
    Predefined variable: &$RESTART_POINT#

Information about an Object Activated in Restart Mode

  • SYS_ACT_RESTART

    Checks whether the object was activated in restart mode

    Predefined variables: &$RESTARTED#

  • SYS_ACT_RESTART_COUNT

    Returns the number of times the workflow task has been activated in restart mode

    Predefined variable: &$RESTART_COUNT#

  • SYS_ACT_RESTART_ME_NR

    Returns the RunID of an object activated in restart mode

    Predefined variable: &$RESTART_RUNID#

See also: