You are here: Reference > Rule types > When Condition rules > When formCompleting the Advanced tab

When form
Completing the Advanced tab

  1. About 
  2. New 
  3. Conditions 
  4. Advanced 
  5. Parameters 
  6. Pages & Classes 
  1. History 
  2. More... 

For complex conditions, use this tab to enter conditions and a logic statement that combines them.

Caution: As a best practice, use the Conditions tab to configure and update the rule. Your configuration populates the conditions array and the Logic String field on this tab. If you add, change, or delete rows, or edit the Logic String field, you can no longer use the Conditions tab. Updating values in existing conditions or using the Options area does not disable that tab.

Field

Description

Conditions In each row, enter a condition and label you want to include in the when evaluation.
label

Enter a unique number or text value in the row header that serves as an identifier for this row. These are used in the Logic String elements. Do not choose and, or, or not as labels. You can enter // as a label to mark this row as a comment; a condition that is not evaluated.

By default, the system uses A, B, C, and so on.

condition Use the fields to enter property references, literal constants, or calls and functions. By default, the first condition compares two values.

Optional. Select the down arrow ( ) at the end of the row for a list of standard conditions (derived from function alias rules).

If you select [expression evaluates to true], use the Expression Builder for guided assistance; click the Gear icon to open it. See Using the Expression Builder.

Logic String Enter the Boolean logic operations performed on the Conditions array that will compute to a True or False result at runtime.

If you created the conditions on the Conditions tab, the system populates this field using the AND and OR operators, and the group hierarchies defined on the condition tree.

You can use and, or, and not in the statement. You can use parentheses to control the order of evaluation.

For example, if the table contains four labels A, B, C, and D, you can enter:

(A and B) or (C and not D)

When you save the rule, if the form contains only one test row, the system inserts the label for that test row here. If you have more than one row, the system defaults to requiring all rows to be true. If that's not what you want, revise the statement and save again.

Options Note: If this rule is delegated, this area is not displayed to users without the appropriate access roles and privileges.
Allowed Functions

Select a function alias that restricts the available conditions (on this and the Conditions tab) to the one in this field. The alias is the only one in the list of standard conditions ( ). When you add a row or node, it defaults to this condition.

Click to add aliases. The top entry is the default when you add a new row in the array.

Other expressions you may have defined on the tree or array are not affected and remain intact. Clear all entries in this option to make all standard conditions available.

Skip backward chaining

Note: Select to cause this rule to be ignored if encountered during a backward-chaining operation. Properties mentioned in this rule are assumed to not contribute to the missing property value. When select, this can speed up goal-seeking processing.

This field has no effect in other situations.

Display property labels

Select to present the Description (pyLabel) of properties when reviewing expression on this tab or on the Conditions tab. (Two or more properties may have the same Description text.)

About When Condition rules