How about::

(defrule retract-them-all
    ?x <- (MappingName)
    =>
    (rectract ?x))

Cheers,

Henrique


nikita shah wrote:
> I want to remove all facts beloging to one particular template.
> How can this be done ?
>
> For eg:
> (deftemplate MappingName (slot mappingName)) 
>
> Some rule fires and I want to remove all the facts belonging to MappingName
> template.
>
>   



--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [email protected]'
in the BODY of a message to [email protected], NOT to the list
(use your own address!) List problems? Notify [email protected].
--------------------------------------------------------------------

Reply via email to