[rules-users] fire a rule only once (for the time being)
gboro54
gboro54 at gmail.com
Wed Aug 1 08:08:29 EDT 2012
I don't think it would be outrageous to build a stateful session per user.
The expensive part is building the knowledge base. Session creation is
cheap.
slyfox wrote
>
> been thinking about this a lot. I know the real solution is to use
> logical inserts but I'm wondering how it would work in my case.
>
> The problem is that I may have several users with similar rules. Again,
> its a financial app so if a user wants to know if a price breaks a certain
> threshold, say low for the day, ideally when that low is broken the fact
> should be removed. However if I do that, would other user's rules ever
> fire (assuming they are looking for the same criteria)?
>
> Would it be outrageous to create one session per user? Is this a lot of
> overhead?
>
--
View this message in context: http://drools.46999.n3.nabble.com/fire-a-rule-only-once-for-the-time-being-tp4018887p4018982.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list