Product Formulas

Not to be confused with Business Formulas, Product Designer Formulas help you process different inputs from your journeys (such as income, age, assets, risk class, etc.) to generate desired outputs (such as credit scores, interests, discounts, etc.). You can create the formulas you need, or you can select existing ones.

When writing a formula in Product Designer, start by entering the desired expression and then configure each attribute from the formula, defining what it is (input, dataset, or even another formula).

When you’re adding a formula or a data set, the editor assists you in defining each attribute you've entered. An extensive dictionary holds predefined attributes, which can be:

  • Product-type specific attributes - e.g., Term, Amount, InstallmentAmount for loan products;
  • Business data model attributes - e.g., customer name, customer address, customer age, customer income, customer job duration;
  • User-defined attributes - you can easily extend the dictionary with your attributes, as needed (e.g., CustomerEnjoysTravels, with Yes or No values).

If you’re using an attribute that already belongs to the dictionary within your formulas or data sets, the attribute is automatically detected. If the attribute is not found, it will be saved to the dictionary according to your definition, so you can reuse it. Thus, you can customize and extend the product data to fit your business.

IMPORTANT!  
Follow these formatting rules for formulas:

1. Attribute names cannot have spaces;
2. Use simple mathematical operations (+, -, *, /, <, <=, >, >=).

Formula attributes can be defined as:

Input: The value of the attribute must be entered when applying the formula. Attributes defined as input will be addressed in any journey that uses this product so that the value is set during run-time. The input value will be set through the journey as user input, from a service integration, or from a data query.

Data set: The value is extracted from a data set. For more details, see Product Data Sets.

Based on formula: The value is calculated using another mathematical formula.