# End

The block indicates the completion of the script or the return from the subprocess diagram to the main Process.

More than one End block can be used in the diagram. There must be at least one such block in the subprocess diagram; otherwise, there will be no return to the main Process after the subprocess completes.

<table data-header-hidden><thead><tr><th width="239" valign="top"></th><th width="326" valign="top"></th></tr></thead><tbody><tr><td valign="top">Log</td><td valign="top"><p>[Any data type] Numeric, text constant (in quotes), variable name (starting with <code>$</code>), or any expression whose value will be logged in the Robot's script execution Process.</p><p>The value can also have a complex data type, such as List, Table, or Dictionary.</p></td></tr><tr><td valign="top">Variable 1</td><td valign="top"><p>[Variable] The name of the first variable to which a new value needs to be assigned.</p><p>You can select from the dropdown a variable that was previously declared in the Variables panel, as well as enter the name of a new variable or one that was used earlier in another block, even if it was not declared in the Variables panel.</p></td></tr><tr><td valign="top">Value 1</td><td valign="top"><p>[Any data type] The new value for the first variable. This property is ignored if the name of the first variable is not specified. The new value of the variable can be either a constant (number, text string) or an expression using other variables and/or functions.</p><p>In the new value of the variable, it is allowed to use an expression involving the same variable. Remember that here and in other blocks, the names of the variables used in expressions must start with the <code>$</code> symbol, and string constants must be enclosed in quotes.</p></td></tr><tr><td valign="top">Variable 2</td><td valign="top"><p>[Variable] The name of the second variable to which a new value needs to be assigned.</p><p>You can select from the dropdown a variable that was previously declared in the Variables panel, as well as enter the name of a new variable or one that was used earlier in another block, even if it was not declared in the Variables panel.</p></td></tr><tr><td valign="top">Value 2</td><td valign="top"><p>[Any data type] The new value for the second variable. This property is ignored if the name of the second variable is not specified. The new value of the variable can be either a constant (number, text string) or an expression using other variables and/or functions.</p><p>In the new value of the variable, it is allowed to use an expression involving the same variable. Remember that here and in other blocks, the names of the variables used in expressions must start with the <code>$</code> symbol, and string constants must be enclosed in quotes.</p></td></tr><tr><td valign="top">Variable 3</td><td valign="top"><p>[Variable] The name of the third variable to which a new value needs to be assigned.</p><p>You can select from the dropdown a variable that was previously declared in the Variables panel, as well as enter the name of a new variable or one that was used earlier in another block, even if it was not declared in the Variables panel.</p></td></tr><tr><td valign="top">Value 3</td><td valign="top"><p>[Any data type] The new value for the third variable. This property is ignored if the name of the third variable is not specified. The new value of the variable can be either a constant (number, text string) or an expression using other variables and/or functions.</p><p>In the new value of the variable, it is allowed to use an expression involving the same variable. Remember that here and in other blocks, the names of the variables used in expressions must start with the <code>$</code> symbol, and string constants must be enclosed in quotes.</p></td></tr><tr><td valign="top">Variable 4</td><td valign="top"><p>[Variable] The name of the fourth variable to which a new value needs to be assigned.</p><p>You can select from the dropdown a variable that was previously declared in the Variables panel, as well as enter the name of a new variable or one that was used earlier in another block, even if it was not declared in the Variables panel.</p></td></tr><tr><td valign="top">Value 4</td><td valign="top"><p>[Any data type] The new value for the fourth variable. This property is ignored if the name of the first variable is not specified. The new value of the variable can be either a constant (number, text string) or an expression using other variables and/or functions.</p><p>In the new value of the variable, it is allowed to use an expression involving the same variable. Remember that here and in other blocks, the names of the variables used in expressions must start with the <code>$</code> symbol, and string constants must be enclosed in quotes.</p></td></tr><tr><td valign="top">Variable 5</td><td valign="top"><p>[Variable] The name of the fifth variable to which a new value needs to be assigned.</p><p>You can select from the dropdown a variable that was previously declared in the Variables panel, as well as enter the name of a new variable or one that was used earlier in another block, even if it was not declared in the Variables panel.</p></td></tr><tr><td valign="top">Value 5</td><td valign="top"><p>[Any data type] The new value for the fifth variable. This property is ignored if the name of the first variable is not specified. The new value of the variable can be either a constant (number, text string) or an expression using other variables and/or functions.</p><p>In the new value of the variable, it is allowed to use an expression involving the same variable. Remember that here and in other blocks, the names of the variables used in expressions must start with the <code>$</code> symbol, and string constants must be enclosed in quotes.</p></td></tr><tr><td valign="top">Expression 1</td><td valign="top">[Expression] The first expression to be executed. It must be written in PowerShell language format.</td></tr><tr><td valign="top">Expression 2</td><td valign="top">[Expression] The second expression to be executed. It must be written in PowerShell language format.</td></tr><tr><td valign="top">Expression 3</td><td valign="top">[Expression] The third expression to be executed. It must be written in PowerShell language format.</td></tr><tr><td valign="top">Expression 4</td><td valign="top">[Expression] The fourth expression to be executed. It must be written in PowerShell language format.</td></tr><tr><td valign="top">Expression 5</td><td valign="top">[Expression] The fifth expression to be executed. It must be written in PowerShell language format.</td></tr><tr><td valign="top">Log to orchestrator</td><td valign="top">If selected, the text will also be logged to the Orchestrator if the connection to it is active.</td></tr><tr><td valign="top">Screenshot to orchestrator</td><td valign="top">If selected, a screenshot will be taken and sent to the Orchestrator if the connection to it is active.</td></tr></tbody></table>
