Modules
...
Creator Module
Journey Builder

Rule Engine

10min

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.

Create Rules

1.Choose a Flow

Choose a flowο»Ώ from the available list.

2. Select a screen

Select a pageο»Ώ from the flow to add rules/conditions.

3. Add conditions

On selecting a particular page, the first step in creating rules is to add conditions.

Conditions for setting
Conditions for setting
ο»Ώ

Generic Onboarding Currently Provides 3 Types of 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

4. Add Rules

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.

Addin
Addin
ο»Ώ

Role of Rule Engine

Rule Engine enables us to:

  1. Connects or unifies all the pages of a particular flow.
  2. Defines the navigation to be followed throughout the process.
  3. Define conditions and rules that will drive set navigation.
Document image
ο»Ώ

Components of Rule Engine

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

  1. Conditions are the parameters/constraints that will drive the navigation.Β 
  2. Condition lays the foundation to define rules.
  3. 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.

Rules

  1. Various types of logic operators can weave various conditions together to form different types of navigation.
  2. A rule is the result of the assignment of conditions that result in a defined type of navigation.
  3. The ultimate driver of navigation is determined by the output of the conditions associated with the rule. (TRUE/FALSE/UNCERTAIN)
  4. 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].

ο»Ώ