Specifying the properties of condition nodes

A condition node indicates an evaluation of the record, based on data in the record. You use a condition node to have a true or false evaluation made on the record and then direct the progress of the record based on that evaluation.

About this task

When a condition node is encountered, the record is evaluated based on the Structured Query Language (SQL) statement defined in the node properties. The record is then routed to either the positive or the negative connection line exiting the node. Use the Condition node tool in the Workflow palette to place a new condition node on the canvas. A workflow process can have one or more condition nodes, but you do not have to include condition nodes in a process.

You can specify the following properties for condition nodes:
Title
Type or modify the node name and description.
Expression
Used to specify the SQL statement that tests one or more field values on the record. The product returns either a true result or a false result. You can define a simple expression or a complex expression, based on the needs of your business process. You can use substitution variables in the SQL expression. When the product encounters the condition node during a condition test, it substitutes values from the current record for the table and column information based upon the specified substitution variables. Use the Expression Builder to create your SQL expression.
Custom Class
Used to specify the custom class file that performs the condition test. Locate custom class files in the product directory.

Procedure

  1. Select a process from the list with properties to be modified.
  2. From the Canvas tab, right-click the Condition node and select Properties, or double-click the Condition node.
  3. Optional: Type a description.
  4. Enter the class name in the Expression field.
  5. Select the Custom Class check box.
  6. Click OK and click Save Process.