This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Do you know how to write this drools? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Do you know how to write this drools?" Watch "Do you know how to write this drools?" New topic
Author

Do you know how to write this drools?

ya ji
Ranch Hand

Joined: Jul 14, 2008
Posts: 40
rule ViewBookAction
no-loop
when
perm: PermissionCheck(target == 'book', action == 'view', granted == false)

How to write below rule?
[(A and (A1 or A2 or A3)) or (B and (B1 or B2 or B3)) or C or D]



then
perm.grant();
end
 
rocket mass heater kickstarter
 
subject: Do you know how to write this drools?