If you want your rule to run Only when the form loads - check the Initialization Only checkbox at the top of the wizard. Typically, you would check this if there is some business logic that you want to to execute before the form/flow displays and users begin interacting with it.
When the rule displays in the Rule Builder tab, it will indicate that the rule has been flagged to run only when the form loads, if this checkbox is checked. This feature will be helpful for creating rules in future versions of the Visual Rule Builder.
Rule Builder Wizards
The following functions are available in the Rule Builder for building expressions. Function names may be entered in any case (case insensitive).
Functions are entered into the Enter an Expression field in the wizards.
Use these operators to build useful expressions
The Rule Examples chapter shows you how to use the Visual Rule Builder to create common rules for real world situations.
|title||Click here for Example 1|
You are designing a weekly Time Sheet that has fields where the user must enter the From and To dates for the reporting period.
Rule Requirement: If the date entered in Period To is equal to or earlier than the date entered in Period From field show this error message "Must be after From Date"
The Condition and Action wizards for this rule are show in the image.
This is how the rule displays in the Rule Builder tab.
If the user enters 3/7/2017 or a date before 3/7/2017 in the Period To field the error message displays.
- The User Info, Numeric, Boolean and Date/Time functions, added to the Visual Rule Builder, are not available in the Precondition Rule Builder. Only the following operators are supported in precondition expressions:
- + (add and concat)
- * (multiply)