File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Jboss Drools doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss Drools doubt" Watch "Jboss Drools doubt" New topic

Jboss Drools doubt

Vivek Hingorani
Ranch Hand

Joined: Jul 08, 2011
Posts: 43
Can two mutually exclusive rules be called from one rule?
Or in other words if I have a rule which says Monday to friday desktop colour be red and on saturday and sunday let it be green but if a weekday is 03/03/2013 or some condition like dd/mm is same then color as orange. How would i implement such a scenario
So when i check when <first condition> can i have a nested condition to check again or do I need to have a extra rule which says when <first condition> && <second condition>
Alna Jingan

Joined: Jun 24, 2013
Posts: 19
What's new in Drools 6.0? Presented by Mark Proctor - Platform Architect at Red Hat
I agree. Here's the link:
subject: Jboss Drools doubt
It's not a secret anymore!