Agent Guidance Core User Guide

Please email support@creovai.com for omissions or errors.
×
Menu

Conditional Builder

 
The Conditional Builder Control is used to quickly and simply build conditional behaviour into a Page without needing to use any JavaScript. It can perform simple comparisons against the values of Fields and Variables, and then perform one or more simple actions based on whether that comparison is true or not.
 
The Field isn't visible to the agent at all.
 
This Control is part of the Basic Control pack, and will always be available.
 
 

How To

Add a Conditional Builder Field to the Page.
 
Clicking the Advanced Options tab will allow the configuration of the actual condition(s) and action(s):
 
 
The panel is split into two or more sections: an "if" block that has a condition that will always be tested, one or more optional "else if" conditions that will be tested in sequence if the "if" block isn't matched, and an "else" block to be executed if none of the above blocks are matched.
 
For the "if" and "else if" blocks, they have conditions that can be added or removed, with the AND or OR options being selected to control whether all of the conditions need to be true or only some of them. A Field or Variable must be selected for each condition, followed by the operator to be used for the comparison, and finally the value that the Field or Variable will be compared to with the specified operator.
 
Each of the blocks then can have one or more "then" actions that will be executed if their block is matched.
 
 

Notes

The Conditional Builder Field will be evaluated when the Page is initially loaded, and also whenever the value of any Field on the Page is altered.
 
The comparisons are case sensitive.
 
Field or Variable references cannot be used as the value to be compared against in a condition, or for the Set Value action.