Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Other Statements

view on GitHub

In addition to running operations and other plans as templates, the following statements are available:

Set Variable Statement

This will both declare and set the value of a variable for the current and all nested blocks. If a variable was already set, and declared in a parent block, then the variable's value will be set.

Log Statement

This statement will write text to the execution log at the specified level (Debug, Information, Warn, Fail), and may change the execution status.

Set Status

The execution status is generally set by the success or failure of operations in a plan, but you can also change the status to Fail or Warn as needed. This is commonly used inside of the Catch (On Error) portion of a Try/Catch block to set the status to the desired level.

Raise Error

You can halt the execution engine, in either a recoverable (i.e. inside of a Try/Catch block) or irrecoverable manner. In both cases, the execution status will be set to Fail.

Await

You can also pause the execution engine and wait for asynchronous blocks to complete; if you only want to wait for certain blocks, specify the same token in both the block and the await statement.