# Process

The block allows you to create scenarios consisting of multiple diagrams. The execution of the scenario will continue from the Start block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram once the End block in the external diagram is reached.

<table data-header-hidden><thead><tr><th width="244" valign="top"></th><th width="324" valign="top"></th></tr></thead><tbody><tr><td valign="top">Diagram Name</td><td valign="top">[Text] The name of the diagram file where the scenario execution will continue. To create a new subprocess, specify the name of the new diagram in this property, and then click the "Open" button in the block itself.</td></tr><tr><td valign="top">Variable 1</td><td valign="top"><p>[Variable] The name of the first variable that needs to be assigned a new value.</p><p>You can select from the dropdown list 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 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 of 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 (a number, a 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 variable names 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 that needs to be assigned a new value.</p><p>You can select from the dropdown list 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 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 of 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 (a number, a 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 variable names 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 that needs to be assigned a new value.</p><p>You can select from the dropdown list 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 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 of 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 (a number, a 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 variable names 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 that needs to be assigned a new value.</p><p>You can select from the dropdown list 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 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 of 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 (a number, a 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 variable names 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 that needs to be assigned a new value.</p><p>You can select from the dropdown list 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 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 of 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 (a number, a 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 variable names 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 that needs 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 that needs 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 that needs 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 that needs 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 that needs to be executed. It must be written in PowerShell language format.</td></tr><tr><td valign="top">Arguments</td><td valign="top"><p>[Text] Arguments for calling the diagram.</p><p>To edit the value, use the button on the block with the tooltip "Arguments".</p></td></tr><tr><td valign="top">Error Handling Level</td><td valign="top"><p>Select the error handling level. Possible values:</p><ul><li>"Default" - by default;</li><li>"Ignore" - errors are ignored;</li><li>"Handle" - errors are handled.</li></ul><p>If "Default" is selected, the value of the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Exit Direction</td><td valign="top"><p>Select the exit direction from the block in case of an error. Possible values:</p><ul><li>"Default" - by default;</li><li>"Right" - to the right;</li><li>"Bottom" - down.</li></ul><p>This property allows you to determine the exit direction in case of errors for blocks that do not contain the "If Error" connector (for example, the "Condition" block).</p><p>If "Default" is selected, the value of the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Message Level</td><td valign="top"><p>Select the message level that the blocks will output during operation. Possible values:</p><ul><li>"Default" - by default;</li><li>"Release" - output is disabled;</li><li>"Debug" - main information output;</li><li>"Detailed" - detailed information output.</li></ul><p>If "Default" is selected, the value of the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Error Text</td><td valign="top">[Text] Returns detailed information about the error in case of incorrect execution of the block's work.</td></tr></tbody></table>
