Product Formulas

Product formulas help you process relevant product origination inputs (such as income, age, assets, risk class, etc.) to calculate desired outputs (such as credit scores, interests, discounts, etc.). When designing a product, you can either reuse existing formulas or create new formulas based on your requirements.

Product formulas leverage the power of Business Formulas to create complex product-centric computations using a simple sentence-based user interface. When writing a product formula, you just enter the formula expression, then specify the source of each attribute you used in that expression (either an input, data set, or another formula):

  • input - This is a Lexicon Term value provided in the product origination journey at run-time. The input value must be set up in the journey through user input, service integration, or data query.
    There is an extensive dictionary of predefined lexicon terms available for each product template that you can choose from (Loan amount, Base Rate, Total Floor Area, etc). Alternatively, you can create new ones or reuse existing lexicon terms in the context of new product templates straight from the formula editor.
  • data set - At their most basic level, Product Data Sets map product origination inputs to secondary values (e.g.: map a driver's experience input to a risk coefficient output). More advanced data sets can use formulas or other data sets as inputs, creating multi-step path from the product origination journey inputs to the data set output.
  • formula - Just like data sets, you can use another formula as a source for a formula attribute.
HINT  

Both formulas and data sets are used to derive secondary values from inputs.

Formulas are useful when you can express this relationship through a mathematical computation, e.g.:
risk coefficient = engine displacement * 0.002.

Data sets are useful when you need to define the relationship explicitly, e.g.:
risk coefficient = (3 if engine displacement <= 1500) or (4.5 if engine displacement > 1500).

IMPORTANT!  
Follow these formatting rules for formulas:

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