The table above should trasform to the following DRL rule -
rule "example 1" when
Bean(var1 >= 5 ,var2 matches "someString",var3 < 6) then list.add("Segment 1");
End
rule "example 2" when Bean(var4 == 1 ,var5 == 5) then list.add("Segment 2"); End
The conditions are dynamically build on Site by customer and I don’t know the number of conditions And the conditions values(the values of columns TypeName,Operation, Value and Return Value ).
Hi, Any updates regarding this subject? I have the same problem and can't find a solution. Like newbie I need to read varying rules from DB and transform them to drools language.