This tutorial will guide you through the process of creating a dynamic score that can be initialized and updated based on end user responses. This approach is highly flexible and enables you to build a score using various mathematical operations available in BRYTER.
Implementing such a score system can be valuable in a wide range of use cases, including creating a risk assessment score, calculating a confidence score, measuring compliance percentages, or tracking completion rates.
To implement a simple score that is based on Single Select nodes, you can refer to this tutorial on implementing a simple score.
Implement the score
In this approach, we will start by setting an initial score of 0. We will then use Calculate actions to update this score. To help you understand the process better, we will walk you through an example.
-
Start your module with a Calculate action that initializes your score to value 0.
-
As a first question, use a Single Select node to ask whether the industry the potential customer is in is heavily regulated. Provide Yes and No as answer options.
-
If the industry is not heavily regulated, then the risk score should increase by 2. To implement this behavior, create a Calculate action on the No-path. Name it Risk Score, so it updates your risk score. Then, reference the risk score value itself in the CALCULATOR field and add 2.
-
On the Yes-path, add two Single Select nodes Met customer in person? and Business interaction known? as described in this tutorial.
-
On the Yes-path, add a Calculate action and name it Risk Score to update the risk score. Next, add the maximum of risk values of the two previous nodes Met customer in person? and Business interaction known? to the risk score. Do this again by referencing the risk score and add the maximum using the MAX function.
-
Add a new node and bring the two paths together.
This example demonstrates how you can utilize more advanced mathematical operations when calculating a risk score. You can customize this approach to suit your specific requirements, and you can apply it to additional questions and answer options as needed.