Decision

01-Decision-Object

A Decision task invokes one of the two paths in the workflow, depending on whether the logical expression inside the Decision object returns a Yes (True) or a No (False) flag.

To use a decision task, drag and drop the Decision object onto the workflow designer. Configure the object by right-clicking on the object’s header and selecting Properties from the context menu.

02-01-Decision-Click

This will open the Decision Properties window. The configuration screen provides the interface to create some decision logic.

02-Decision-Properties

In the Expression input box, enter an expression. This expression should return a Boolean result, such as True or False. An example of this expression is shown below. The expression here is based on the presence of erroneous records in a Run Dataflow task object.

03-Decision-Configuration

Note: The right-hand pane displays the object tree (highlighted in yellow). You can double-click on an object to add it to your expression.

This concludes the configuration of the Decision object in Astera Centerprise.