Hi, 

I have this in my DSL consequence :

{name}."{indic}"+:{value}={name}.putIndicator("{indic}",{name}.get("{indic}")+{value});
{name}."{indic}":{value}={name}.putIndicator("{indic}",{value});

If I write in my dslr :

...
then
        ex."eeee"+:200
        ex."eeee":200
end

the mapping is :

then
        ex."eeee"+:200
ex.putIndicator("eeee",ex.get("eeee") + 200);
end

Why I have not this :
then
ex.putIndicator("eeee",ex.get("eeee") + 200);
ex.putIndicator("eeee",200);
end
:confused::confused:

thanks,

V.






-- 
View this message in context: 
http://www.nabble.com/DSL-expression------tf4507913.html#a12856258
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to