[rules-users] DSL in Drools 5.2

Saleem Lakhani Saleem.Lakhani at citizensfla.com
Thu May 12 11:06:24 EDT 2011


Can we combine to different DSL rules in DSLR with a Boolean operator?
Can we combine them with an OR or AND?

 

e.g; in DSL I have:

 

a or b = Person(name ==a || name ==b)

c or d= Person(name==c || name ==d)

 

Can I write in DRL as: 

 

a or b or c or d?

 

I know combining them as one rule is easier but I have few limitations;

 

saleem

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110512/d1c081dc/attachment.html 


More information about the rules-users mailing list