• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do you know how to write this drools?

 
ya ji
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic