[rules-users] Adding two numbers

Hehl, Thomas Thomas.Hehl at acs-inc.com
Wed Aug 18 09:21:35 EDT 2010


I have two properties on my class that I'd like to add together and
compare results. I'm trying:

 

      when

            stub:PaymentStub(daysJuror + daysPanel > 0)

 

But this throws an error. Either daysJuror or daysPanel work, but adding
them together doesn't. Isn't there a way to do this?

 

Thanks!

 

Thom Hehl

Java Applications Architect

Public Safety & Justice

Affiliated Computer Services, Inc.

A Xerox Company

1733 Harrodsburg Road

Lexington, KY 40504-3617

Tel 859.277.8800 x 144

Fax 859.277.2300

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100818/a27eb6ae/attachment.html 


More information about the rules-users mailing list