[rules-users] Comparing Date values in Iteration for Decision Table
Corneil du Plessis
corneil.duplessis at gmail.com
Fri Jan 29 10:35:20 EST 2010
(m1.startDate.time<m1.LDOS.time)
java.util.Date has a property named time which is a long and works great
for comparisons
On Fri, 2010-01-29 at 04:30 -0800, Tushar wrote:
> Hi,
> I am new to drools and just started to understand it. I am trying to use
> Decision Table for my project, one of my requirement is to compare dates say
> fromDate and endDate from a POJO. I wonder if its possible to have something
> like this
>
> d:DroolsRequestResponse m1:majorLine
> (m1.startDate<m1.LDOS) from m1
>
> in my CONDITION
>
> or can i have dynamic values of parameter in the cell for each iteration.
>
> here is my excel screenshot
> http://n3.nabble.com/file/n143474/rules.jpg
>
> Regards,
> Tushar.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100129/6b37ac93/attachment.html
More information about the rules-users
mailing list