Hello Team,
Please consider the following scenario
Person - has many Cars
Person.java
String name
Integer age
List<Cars> listOfCars
Cars.java
String manufacturer
String type
Integer year
If I want to setup a rule, say for insurance company
Where if the type of car is Electric then discount is 50%
How do I configure this rule within a guided decision table?
In a DRL file, I can write the java code to traverse thru the list of Cars and calculate it, but not sure if and how it can be done in a guided decision table. Any inputs or suggestions would be greatly appreciated.
Thanks & Regards,
Imran