> You really only mean this rule to apply when selectedScript is nil, so
> you should state that explicitly:
> 
> (defrule ASP1
>    (OrmedContext
>        (readyToRun TRUE)
>        (task "script")
>        (selectedScript nil)
>        (OBJECT ?c)
>    )
>     ...
> 
> When the rule fires, selectedScript becomes non-nil, and the rule
> won't be reactivated.

I had thought about that but didn't you say bean properties can't be nil?

Alex
-- 
Alexander Lamb 
Groupe Serveurs Applicatifs
Division d'Informatique Midicale
Htpitaux Universitaires de Genhve
21 rue Micheli-du-Crest
CH-1211 Genhve 4 / Switzerland
Tel: +41-22 372.48.46 Fax: +41-22 382.86.80
[EMAIL PROTECTED] / http://www.hcuge.ch

--------------------------------------------------------------------
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