Restart Invoker

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 Invoker is ignored and the scenario proceeds to the next activity, or ends (when the Restart Invoker is the last activity in a scenario).

Parameter nameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
CounterInt32Inputhow many times the scenario should be restarted
Delay [s]DoubleInputscenario waiting time
DescriptionStringInputthis comment (string) will show in Logs
DisplayNameLiteralInputyou can change the name of activity for greater clarity of the scenario
ResultBooleanOutputreturns the Boolean value: it will return True if no error is in activity, otherwise it 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