Hi,
I am trying to fire a query somewhat like this :

(defrule checkAuthorization

  Attempt (?person, ?action)
  Authorization(?person,  ?action)

=>

  (assert (?action))   ;// let the action happen

)

Here ?m may be a fact like : Open(door)  - or - Puchase (goods)

Comments and suggestions welcome.

Thank you,
Kartik.

Reply via email to