Hi jess-users.
I am trying to use a not pattern in a rule wit a deftemplate in a way
similar to this:
(defrule example
(current-conversation-state (Conversation-id ?id))
(not (received-message (Conversation-id ?id)))
=>
(things to do)
)
where received-message is a previously defined deftemplate. If I use
another fact (not a deftemplate) in the rule, the rule is fired, but
when I used the deftemplate, it does not fire. I have checked that no
received-message fact is in the facts base using the (facts) command in
the last rule fired.
What's happening? Is it a bug? I am using the 4.2 version.
Thanks in advance.
Juan Luis Mulas Platero.
ETSIT Valladolid.
Spain.
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------