The Conditional object evaluates the contents of a document and routes it to the next object(s) based on the values in the document.
Note: The Conditional object is a direct replacement for the Decision Test object, which was available in iWay 7.0.x releases.
The Conditional object is located in the iWay Integration Tools (iIT) Palette, under the Flow Control group, as shown in the following image.
When you add the Conditional object to your process flow using iIT, configuration properties for this object are available in the Properties tab and grouped by subtabs.
Operands in the Conditional object can be literals, variables, or XPath expressions. The available comparison operations are available in the Operation drop-down list, as shown in the following image.
When using an XPath expression, many values can be retrieved from the document. The Occurrences subtab allows you to specify how the test comparison should handle multiple values.
Select a test occurrence:
- Unique. Only one value can exist in the document.
- Any. At least one value must exist in the document.
- All. Every value must exist in the document.
The Debug subtab allows you to configure iterative tracing limits. When this object is part of an iterative loop, the maximum number of iterations that can be captured is 20. Tracing can be controlled by specifying the iteration that begins and ends the document capture.
Specify the iterations in which you want the tracing to begin and end.
The following tracing formats are available from the drop-down list:
- Standard tracing (default)
- Standard tracing displayed in hex format
- Just the output document
- None, under any circumstances