[rules-users] getInfo(return).equals("TEST") function is not working as expected

Jevon Wright jevon at jevon.org
Tue Jun 12 09:05:04 EDT 2012


Hi Siri,

You'll need to be more specific. What drools file are you using? Is
the function in the head or the body of the rule? If in the head, you
need to use eval() in order to execute Java code.

Jevon

On Wed, Jun 13, 2012 at 12:36 AM, vysrinivas <vysrinivas at gmail.com> wrote:
> Hi,
>
> i have below condition in my drools file.
>
> getInfo(return).equals("TEST") function is not working as expected
>
>
> getInfo function will return a string value. If it is equal to "TEST", then
> i should not do further validation.
>
> can you please let me know what might be the issue?
>
> and there are other few conditions in which the same equals condition is
> working without any issue.
>
>
> regards,
> Sri.
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/getInfo-return-equals-TEST-function-is-not-working-as-expected-tp4017869.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


More information about the rules-users mailing list