I have some trouble understanding how conditions and constraints are evaluated:
I have a rule flow split node with constraints on a global object. The split
node always takes the same path like if the constraints are evaluated at the
beginning of the execution of the process and not when the
It depends on what type of constraint you are using.
If you are using a rule constraint, that constraint will be evaluated
just the same as normal rules. This means that the constraints are
evaluated when data is inserted / updated / removed. Note that, if you
want to make sure the engine is
...@cs.kuleuven.be]
Sent: Wednesday, June 10, 2009 11:38 AM
To: Rules Users List; Malenfant, Andre
Cc: Rules Users List
Subject: Re: [rules-users] Constaint evaluation
It depends on what type of constraint you are using.
If you are using a rule constraint, that constraint will be evaluated
just the same as normal
of the global as you go, but the results
are unpredictable.
--- On Wed, 6/10/09, Malenfant, Andre andre.malenf...@cgi.com wrote:
From: Malenfant, Andre andre.malenf...@cgi.com
Subject: RE: [rules-users] Constaint evaluation
To: Kris Verlaenen kris.verlae...@cs.kuleuven.be
Cc: Rules Users
, Andre
Cc: Rules Users List
Subject: Re: [rules-users] Constaint evaluation
It depends on what type of constraint you are using.
If you are using a rule constraint, that constraint will be
evaluated
just the same as normal rules. This means that the constraints are
evaluated when data
Yes, it does answer my question. Thanks!
-Original Message-
From: Kris Verlaenen [mailto:kris.verlae...@cs.kuleuven.be]
Sent: Wednesday, June 10, 2009 3:54 PM
To: Malenfant, Andre
Cc: Rules Users List
Subject: RE: [rules-users] Constaint evaluation
Globals are mostly used to register
: RE: [rules-users] Constaint evaluation
The ideas is that objects in working memory are those that meant to be tracked:
their changes are made visible to the rules via the insert/update/retract
methods. A global is not in working memory, so it's changes cannot be tracked.
You can change
on the agenda, but you
must make a separate method call to do that. (StatefulSession.fireUntilHalt()
instead of fireAllRules())
--- On Wed, 6/10/09, Malenfant, Andre andre.malenf...@cgi.com wrote:
From: Malenfant, Andre andre.malenf...@cgi.com
Subject: RE: [rules-users] Constaint evaluation