Interrupt#
The block interrupts the execution of the script or generates an error. If the error type "System" is selected, the variable $SystemException will also be set. If the error type "Business" is selected, the variable $BusinessException will also be set. The SystemException and BusinessException variables are global.
| Generate Error | [Text] The specified value will be generated as an error. If no value is specified, the script will be interrupted. |
| Error Type | Select the type of error to be generated. Possible values:
|
| Log to File | [Any data type] Numeric, text constant (in quotes), variable name (starting with The value can also have a complex data type, such as List, Table, or Dictionary. |
| Log to Orchestrator | If selected, the text will also be logged to the Orchestrator if the connection to it is active. |
| Screenshot to Orchestrator | If selected, a screenshot of the screen will be taken and sent to the Orchestrator if the connection to it is active. |
| Set Status to Failed | If enabled, the execution status will be forcibly set to Failed. This property works only if the value of the "Generate Error" property is not specified. |
| Screenshot File | [Text] Returns the full path to the created screenshot file. |