Select the cleanse function that you want to configure.
Right-click on the workspace and choose
Add Condition
.
The Cleanse Functions tool displays the Edit Condition dialog.
Click the
Add
button to add a value.
The Cleanse Functions tool displays the Add Value dialog.
Enter a value for the condition. Using the customer and prospect example, you would enter C or P. Click
OK
.
The Cleanse Functions tool displays the new condition in the list of conditions on the left, as well as in the input box.
Add as many conditions as you require. You do need to specify a default condition—the default case is automatically created when you create a new conditional execution component. However, you can specify the default case with the asterisk (*). The default case will be executed for all cases that are not covered by the cases you specify.
Add as many functions as you require to process all of the conditions.
For each condition—including the default condition—draw a link between the input node to the input of the function. In addition, draw links between the outputs of the functions and the output of your cleanse function.
You can specify nested processing logic in graph functions. For example, you can nest conditional components within other conditional components (such as nested case statements). In fact, you can define an entire complex process containing many conditional tests, each one of which contains any level of complexity as well.