Restart Scenario

This activity restarts the scenario. It makes the scenario starts from the very beginning, with variables set to starting values again. You can't restart a scenario with settings from some chosen point.

Put the number in Counter textbox - it determines how many times the scenario will be restarted. Set the waiting time before restarting the scenario. The note (string) you put in Description will show in Logs.

After last restarting a scenario the activity Restart Scenario is ignored and the scenario proceeds to the next activity, or ends (when the Restart Scenario is the last activity in a scenario).

Parameter NameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
CounterInt32Inputnumber of times the scenario should be restarted
Delay [s]DoubleInputscenario waiting time
DescriptionStringInputthis comment (string) will show in Logs
Display NameLiteralInputchanges display name of the activity
Exclude from Transaction CheckBooleanInputcheckbox; 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 it will return 1, the extended result code will show only in several chosen activities