Skip to main content

Algorithm

In this path you will learn how to build a simple decision algorithm. The algorithm will be called from the website, where, based on the entered parameters, the decision will be calculated according to specific pattern.

Below is the material presenting the resulting functionality.

Issues presented in the current article​

DATA STRUCTURE

  1. Building a data structure
  2. Building a data structure for an algorithm

FORM

  1. Building a form
  2. Execute the algorithm action
  3. Action mappings
  4. Read-Only mode for controls

ALGORITHM

  1. Decision tables
  2. Keys, values, and points in decision tables
  3. Building the algorithm
  4. Defining decision conditions
  5. Algorithm testing

Other

  1. Formula editor

STEP 1 - DATA STRUCTURE AND DICTIONARY​

In this step:

  1. You will create a dictionary structure
  2. You will create a data structure
  3. Based on data structure you will create the data structure for algorithm
  4. You will define the condition for making a scoring decision

STEP 2 - DECISION TABLE​

In this step:

  1. You will create decision tables
  2. You will specify the keys, values, and points of the decision tables
  3. Based on the dictionary you will complete the key values

STEP 3 - CREATING THE ALGORITHM​

In this step:

  1. You will create a scoring algorithm based on the algorithm's data structure
  2. You will use and configure the calculation block
  3. You will use and configure a decision table block
  4. You will use and configure the decision block
  5. You will test the algorithm

STEP 4 - FORM​

In this step:

  1. Based on the data structure You will create a form
  2. You will use and configure the action Executethe the algorithm