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:

  • Default - regular exception;
  • System - system exception (the value of the variable $SystemException is set);
  • Business - business exception (the value of the variable $BusinessException is set).
Log to File

[Any data type] Numeric, text constant (in quotes), variable name (starting with $), or any expression whose value will be logged during the robot script execution.

The value can also have a complex data type, such as List, Table, or Dictionary.

Log to OrchestratorIf selected, the text will also be logged to the Orchestrator if the connection to it is active.
Screenshot to OrchestratorIf 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.