1. Introduction
The Rules tab gives you the ability to view and update the rules of your product flexibility. Rules in a product can be validation or purchase constraints. The tab includes:
Rules: All the rules of your product
Working on rule: Rule details
a. Before you begin
You need to have the permission “View Products” or “Manage Products” to access this page.
2. Rules list
a. Rules list
You can see the list of all rules in the product and can refine the list and perform the actions on the list as well.
b. Searching and filtering rules
You can search the rules by title and filter the list by rule types (single trigger or multiple triggers). A single trigger is a question that has only one trigger condition, while multiple triggers are questions that can be triggered by multiple conditions.
c. Add rule
When you click the Add button, then you can start creating a new rule. All the required fields must be filled in, thus you can create a new question.
You can refer to the question details to see the guidance
d. Edit rule
You can view and edit a rule by clicking on its name
You can refer to the question details to see the guidance
e. Clone rule
You can clone a rule by clicking on the [clone] button
The cloned rule will have the “Clone” word at the end of the name, you can update the name but can’t rename it duplicate as the original question
f. Remove rule
You can remove a rule by clicking the [remove] button
You need to confirm the removal action before the system performs it.
3. Rule detail
The rule detail is opened when you click on the rule name. There are 3 sections in the detail block: main information, triggers, and proposed JSON
a. Rule main information
Title: the text field must be unique (can't be duplicated with other questions' names) and is a mandatory field
Severity level: there are 4 levels: low, medium, high, and blocking. The higher the level, the more the approver’s level needs to approve.
Rules with severity ranging from low to high are used as a purchase constraint
We use high-level severity for important questions or cases (the sum insured is too high, the customer score exceeds the threshold, etc.) that need a high-level approver to review and approve before the customer can purchase the quote.
Rules with severity blocking are used as validation
You will choose the blocking option to abort the quotation. For example, users can't purchase the quote if they are younger than 18 years old.
Message: The message will be displayed when the rule happens.
b. Triggers
Your rule will be triggered when the answer in your product's QA meets one of these conditions:
Question: dropdown list with all the questions in your product question list
Where: the condition to compare with
Value: the value to compare with the question. You can add a new value by clicking on the + button, and remove the value by clicking on the - button
Your rule can be triggered by one or multiple trigger conditions. To add a new trigger condition, you can click on the Add trigger button, and you can remove the unused condition by clicking the Remove button
c. Proposed JSON
This JSON is generated from the information above that you have updated