[rules-users] Help needed in Rule flow in Guvnor

Vignesh viki.ccc at gmail.com
Mon Aug 9 13:03:49 EDT 2010


Hi,

I am using Rule flow in Guvnor for setting some value out of the flow which
would be used for my further processing. Below is what I'm trying to
achieve,

I have two rule groups in the rule flow, out of which the first one would
set a <key, value> pair in a Map which is a field in one of the bean class
declared Global for the package when ever each rule is executed in the set
of rules in the group and the next rule group would be required to have a
set of rules that needs to be executed against this Map which was set in the
first rules group and send the final result as output out of the flow.

I have defined the rules in the first rule group and set the Map with
necessary keys and values, but I was not able to read the Map in this second
rule group. I had tried this second rule group as a custom java code in my
Java part after the rules execution from guvnor and able to read the map
that was set from the first rule group and able set the final decision.

I want to know whether reading the Map from the second rule group which was
set in the first rule group is possible or not. Or kindly let me know
whether I'm missing anything here and needed to add any other logic to
achieve the same.

Thanks,
Vignesh
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Help-needed-in-Rule-flow-in-Guvnor-tp1059410p1059410.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list