Question 1
IntermediateOmniScripts · Formula Element Usage
A financial services company is using an OmniScript to guide wealth managers through a client risk assessment. The final step calculates a 'Risk Score' based on multiple inputs. The business logic requires that if the client's 'InvestibleAssets' are greater than $1,000,000 AND their 'RiskTolerance' is 'High', a 10-point bonus is added to the 'BaseScore'. Which OmniScript element is most efficient for implementing this specific calculation logic without calling an external action?
Answer and explanation
Correct answer: B
The Formula element is specifically designed for performing calculations within an OmniScript. It can handle complex conditional logic like the IF statement required here (e.g., IF(%InvestibleAssets% > 1000000 && %RiskTolerance% == 'High', %BaseScore% + 10, %BaseScore%)). While a Set Values element can perform simple assignments and some functions, a Formula element is the most direct and efficient tool for this type of calculation.
