Not really and that is why it is better to avoid eval() blocks.
Can you show what rule are you trying to create? Maybe there is another
way of writing it?
[]s
Edson
2007/8/27, cfili <cfilippelli(a)cerner.com>:
I still have not found a solution to this problem. Nobody has a
suggestion?
cfili wrote:
>
> Hi,
> I have just started using Drools 4.0 and I am very pleased so far. I do
> have one question regarding storage of a result from within an eval
block.
> For example if I have the following eval in my rule:
>
> eval((value1 /value2) > 0.5)
>
> Is there a way to store the result of value1/value2 in a temp variable
so
> that it can be accessed in the "then" part of my rule? I want to avoid
> recomputing the result again in the then section.
>
> Thanks.
>
--
View this message in context:
http://www.nabble.com/Storing-temp-results-in-eval-block-tf4225783.html#a...
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
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @
www.jboss.com