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
- From the List tab of the Workflow
Designer application, select a process with properties to be modified.
- From the Canvas tab, right-click
the condition node and select Properties.
- Optional: Type a description.
- Click Condition Expression Builder.
- Select the Custom Class check box.
- Click OK and click Save
Process.