Utilities

Restart Scenario

Activity restarts the scenario.

Scenario will start from the beginning of Main Scenario flowchart, with all variables set to their starting values, even if activity is placed in the Alternative Scenario flowchart.

v2_util_restart

Fill out the Counter parameter to determine how many times the scenario will be allowed to restart.

Fill out Delay [s] to set the waiting time before each scenario restart.

Content of Description will show in Logs.

Wizlink stores the ongoing restart count separately. Once the scenario exceeds the restart limit, the Restart Scenario activity will be ignored.

In case there is more than one Restart Scenario activity in the scenario:

      • higher Counter parameter becomes the upper restart limit value
      • individual restarts of the scenario add up to internal restart count, no matter which Restart Scenario activity caused it
NameTypeCategoryDescription
Alternative Scenario If FailedBooleanMisccheckbox; default is "on"
Display NameLiteralMiscchanges display name of the activity
Exclude from Transaction CheckBooleanMisccheckbox; default is "off"
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases will return 1. See the table of Extended Result Codes for more info
CounterInt32Inputnumber of times the scenario should be restarted
Delay [s]DoubleInputscenario waiting time
DescriptionStringInputthis comment (string) will show in Logs