Rule Engine
In Generic Onboardingο»Ώ, the Rule Engine provides a way to add a direction to the Onboarding Flow. As a way of incorporating certain evaluation checks, it can also add customizable conditions and rules to the flow. A rule is generally composed of multiple conditions tied together by a logical operator.
Choose a flowο»Ώ from the available list.
Select a pageο»Ώ from the flow to add rules/conditions.
On selecting a particular page, the first step in creating rules is to add conditions.
a. No conditions
On selecting this type, you only have to provide the destination screen.
b. Logical conditions
On selecting this type, you must create a condition with the following fields:
- Variable
- Operator
- Value
c. API-based conditionsο»Ώο»Ώ
On selecting this type, we must first select the API from the API list, and then map all the API input variables to the corresponding page variables. Lastly,Β you must create a condition with the following fields:
- Variable
- Operator
- Value
Once the required conditions are created, you can create a rule by combining conditions with various logical operators. You also have to specify the destination on True/False.
Rule Engine enables us to:
- Connects or unifies all the pages of a particular flow.
- Defines the navigation to be followed throughout the process.
- Define conditions and rules that will drive set navigation.
A rule engine consists primarily of conditions and rules. Conditions are defined and weaved together using rules, which ultimately define the navigation to be followed across pages.
- Conditions are the parameters/constraints that will drive the navigation.Β
- Condition lays the foundation to define rules.
- Conditions can be either
- Logical Based
- Implies definition using various variables available in pages tied with logical operators.
- It also enables the performing of logical comparisons/computations as well.
- API BasedΒ
- Implies the definition of variables that are linked to a certain API and tied with operators.
- Aids inputting various types of checks as well in place.
- No Conditions
- On selecting this type, you only have to provide the destination screen.
- Various types of logic operators can weave various conditions together to form different types of navigation.
- A rule is the result of the assignment of conditions that result in a defined type of navigation.
- The ultimate driver of navigation is determined by the output of the conditions associated with the rule. (TRUE/FALSE/UNCERTAIN)
- As an example, if "condition 1" is TRUE then go to PAGE 2, if it's FALSE then go to PAGE 3.Β
Note: In the Rule Engine, we choose the operator βAllβ if there is only one condition and βAnyβ if there are multiple conditions.
Getting help
Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.
You can reach out to us at [email protected].
ο»Ώ