I have started exploring DROOLS execution engine, so I have not much idea about DROOLS. I have found it very easy while creating a rule for following business rule:
"Event is large event if number of audience is greater than 1000"
Drools rule will be:
rule "Large Event"
when
event: Event(audience>= 1000 )
then
event.setEventType("largeEvent");
end
Where Event is a class and audience , eventType are the attributes of the class. But I am getting it difficult while creating a rule, which have conditions other than >, <, ==. Consider the following example:
Bank verifies customer if customer submits document.
If anyone deal with such type of rules, please help me. Is there any example or document available to learn such type of example.