Typically, Constraints Knowledge is used in applications for capturing user requirements for complex products and services. Constraints are defined on the valid combinations of attributes, features and options that are selectable by the user. In Viabl.ai constraint knowledge can be defined using Constraint Trees, Constraint Cases or Constraint Procedures (Scripts).
Constraints knowledge is executed by the runtime engine while the user is selecting the required List Questions, features and functionalities from a dialog. As the user makes his/her selection from the values of a list Question, the viabl.ai engine will execute the constraints knowledge and automatically remove (hide or disable) from selection all the values of other list questions that conflict with the selections already made. This pre-emptive, knowledge driven, UI strategy will ensure that the user can only select valid combinations of features and options. It also gives the user full visibility of all the available combinations of features and options.
Use the Add Constraints Knowledge Build Tool to implement your constraints logic.
Constraints in Viabl.ai are logical rules that define the relationships and limitations between the objects contained within your knowledge base.
To effectively work with constraints in Viabl.ai, consider the following best practices:
For knowledge objects ie. trees, tables there is an object property ‘Apply constraints’ which determines whether the knowledge is applied to constrain question values on dialogs. This is set to true for Constraint trees.
To add constraints, use the Add Constraint Knowledge Build Tool.