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 name | Parameter Type | In/Out | Description |
---|---|---|---|
Alternative Scenario If Failed | Boolean | Input | checkbox; default is "on" |
Counter | Int32 | Input | how many times the scenario should be restarted |
Delay [s] | Double | Input | scenario waiting time |
Description | String | Input | this comment (string) will show in Logs |
DisplayName | Literal | Input | you can change the name of activity for greater clarity of the scenario |
Result | Boolean | Output | returns the Boolean value: it will return True if no error is in activity, otherwise it will return False |
Result Code | Int32 | Output | Result 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 |