Re: [rules-users] Ruleflow and Global - precision

2007-08-31 Thread vdelbart

I try with the 4.0.1 release but it's the same result.

best regards,

Vdelbart
-- 
View this message in context: 
http://www.nabble.com/Ruleflow-and-Global---tf4347589.html#a12421773
Sent from the drools - user mailing list archive at Nabble.com.

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Ruleflow and Global - precision

2007-08-31 Thread vdelbart

Thanks a lot !

I will use your Global class :-)

vdelbart
-- 
View this message in context: 
http://www.nabble.com/Ruleflow-and-Global---tf4347589.html#a12425923
Sent from the drools - user mailing list archive at Nabble.com.

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Ruleflow and Global - precision

2007-08-30 Thread Jeffrey Delong
Did you put a global declaration in the XOR Split Constraint Editor 
(same spot to put imports)?


vdelbart wrote:

Just an additionnal information of my problem :

this two sentences work in a rule with the declaration of my global (Global
HashMap map) :

Boolean(eval((Boolean)map.get(decision) == true)) from Boolean.TRUE;
Boolean(booleanValue == false) from map.get(decision)



thanks,
  


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Ruleflow and Global - precision

2007-08-30 Thread vdelbart

Thanks for the answer,

I have the snapshot 4.0.1 version and I only have a imports... button 

http://www.nabble.com/file/p12409258/constraint%2Beditor.jpg 

and in the imports textual editor the global declaration is not save :

I can write the declaration :
http://www.nabble.com/file/p12409258/Imports%2Beditor.jpg 

but the declaration is not save :

http://www.nabble.com/file/p12409258/Imports%2Beditor_without_global.jpg 

Is there a textual editor for global declaration in the ruleflow ?

thank you,

vdelbart
-- 
View this message in context: 
http://www.nabble.com/Ruleflow-and-Global---tf4347589.html#a12409258
Sent from the drools - user mailing list archive at Nabble.com.

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Ruleflow and Global ?

2007-08-29 Thread vdelbart

Hello,

How to use global in my split condition of a Ruleflow ? :confused::confused:

I try this :
-

My global map is a HashMap

when I write this :
Boolean(eval((Boolean)map.get(decision) == true)) from Boolean.TRUE;

I have this error :-(  :
initPackage/Rule_RuleFlow_mcoProcess_31_32_0.java (10:386) : map cannot be
resolved

when I write this :
Boolean(booleanValue == false) from map.get(decision)

I have this error :-( :
Unable to build expression for 'from' node map.get(decision)' : [Rule
name=RuleFlow-mcoProcess-31-32, agendaGroup=MAIN, salience=0, no-loop=false]

-
-- 
View this message in context: 
http://www.nabble.com/Ruleflow-and-Global---tf4347589.html#a12386433
Sent from the drools - user mailing list archive at Nabble.com.

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users