So my question is, how can I say to the split node to consider the
fact
outgoing from the ruleFlowGroup1 and not a fact in the working memory ????
In one
of the future releases, we will add support for ruleflow 'variables'
that can temporarly store some value so that it can be used by other rules
or inside constraints (like a split in your example). For now you can
simulate this by either using some dedicated Fact in your working memory or
a global that can store this value.
Kris
----- Original Message -----
From: "hypnosat7" <ablarbi(a)yahoo.fr>
To: <rules-users(a)lists.jboss.org>
Sent: Monday, July 23, 2007 10:18 AM
Subject: [rules-users] problems using rule flow
>
> When I use my rule flow with only one asserted fact it work very well, but
> when I assert more than one fact it goes wrong. I used the Audit View to
> fix
> the problem.
>
> My rule flow : Start -> ruleFlowGroup1 -> split -> ruleFlowGroup2 ....
> -> join ....
> When I edit my split node I have this :
> To node ruleFlowGroup2 : constraint
> To node join : constraint
>
> For the node join constraint I specified something like :
> myFact(state==myFact.state1)
>
> And when a fact with state==myFact.state1 is inserted the split node
> constraint are true for the others facts even if their states are
> different
> from myFact.state.
>
> I'm also updating my fact in all the rules.
>
So my question is, how can I say to the split node to consider the
fact
outgoing from the ruleFlowGroup1 and not a fact in the working memory ????
>
> Thanks
>
> Any help pls ?
> --
> View this message in context:
>
http://www.nabble.com/problems-using-rule-flow-tf4128169.html#a11739566
> Sent from the drools - user mailing list archive at
Nabble.com.
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users