Enter formula expressions in business rules
About this task
The following formula expression uses objects, literals, and comparison operators:
policyDrivers.Count / vehicles.Count * 100
To enter this formula expression:
Procedure
- In , edit the PA: Number of vehicles underwriting rule.
- In Rule Condition, click Add.
- Set the mode to Formula by clicking the down arrow to the immediate right of an expression.
-
In the Left Expression, press
Spacebarto view available objects, and then select policyDrivers. - Type a period to view objects and properties on the object.
- Select Count.
- Type / for the division operator.
-
Type v to view all objects and properties
containing
v, and then select vehicles. - On vehicles, select the Count property.
- Enter the * operator followed by the literal 100.
