Logic#
The Logic element allows combining multiple conditions. For example:
If Assessment selection is "Yes" and if Text contains "Problem".
You can also use an Expression instead of Conditions. The expression allows more complex options like:
(element_1_id EQ 1 OR element_2_id CO 2) AND element_3_id NE 3element_1_id GT 12:00, where element_1_id is Date/Time elementelement_1_id EQ WED, where element_1_id is Date/Time elementMULTIPLY(element_1_id, element_2_id) GT 1
MULTIPLY(...) can be used in an expression when you want to multiply numeric values before comparing the result.
MULTIPLY(element_1_id, element_2_id) EQ 550MULTIPLY(element_1_id, element_2_id) GT 0
Notes for MULTIPLY(...):
- It is intended for numeric values such as
NUMBER,CALCULATION, and numericASSESSMENToption values. - For
ASSESSMENT, the numeric value of the currently selected option is used.
Expression operators:
- Equals:
EQ,EQUALS,= - Not equals:
NE,NOT_EQUALS,!= - Greater than:
GT,GREATER_THAN,> - Greater than equals:
GTE,GREATER_THAN_EQUALS,>= - Less than:
LT,LESS_THAN,< - Less than equals:
LTE,LESS_THAN_EQUALS,<= - Contains:
CO,CONTAINS - Not contains:
NC,NOT_CONTAINS
Debug#
When using Expression mode in the UI Designer, you can use the Debug button to evaluate the current expression directly in the frontend.
- The debug output shows whether the expression currently resolves to
PASSorFAIL. - It also shows intermediate calculation and comparison steps, including resolved
MULTIPLY(...)values. - The debug view is intended for testing while designing and does not require a backend call.
See UI Designer