[rules-users] How to check for a variable number of "conditions" ina rule?

Ron Kneusel oneelkruns at hotmail.com
Wed Jul 23 12:02:41 EDT 2008


Mike,

I think the collect will work, I'll have to look at it more closely because the ordering of elements in the array is significant so I'm not sure I can just break the elements up into facts and let collect group them however it will.

As a follow up, while my solution of using a global in the LHS works, is the problem with changing the global simply that the engine will not see the changes?  For my case, the global is set before the rules engine is called and it will not change while the engine runs.

Ron

Mike wrote:
 
>Have a look at the "Alarms" example for "Collect" in the (4.0.5) manual.
>  
>This should give you a good starting point.
>   
>Cheers,
>       
>Mike

_________________________________________________________________
With Windows Live for mobile, your contacts travel with you.
http://www.windowslive.com/mobile/overview.html?ocid=TXT_TAGLM_WL_mobile_072008



More information about the rules-users mailing list