-
1. Re: compare dates
kukeltje Feb 20, 2007 12:47 AM (in response to jbmpuser)I don't know if this is a real object compare or a date compare (content) I usually (in java) use the before and after statements, which afaik are identical to > and <. Don't know about ==. Better also ask on the el mailinglists/forums.
-
2. Re: compare dates
jbmpuser Feb 21, 2007 11:29 AM (in response to jbmpuser)I write in processdefinition.xml:
decision
transition
condition expression="#{date1 le date2}"
transition
decision
but date1 > date2 is wrong, because:
for example, if date1=01/01/2005 and if date2=16/01/2000
date1 le date2 is true because 01 < 16, it is wrong!!!!!
what can I use instead of le??? -
3. Re: compare dates (urgent help, please)
jbmpuser Feb 21, 2007 1:19 PM (in response to jbmpuser)Some idea!!!
-
-
5. Re: compare dates
jbmpuser Feb 22, 2007 4:01 AM (in response to jbmpuser)I am sorry!!! I want tell us:
some idea??????
I have not solution for this problem. -
6. Re: compare dates
romeufigueira Feb 22, 2007 4:17 AM (in response to jbmpuser)Just a theoretical thought, why don't you write the dates like YYYYMMDD instead of the DDMMYYYY that you showed us?
-
7. Re: compare dates
jbmpuser Feb 22, 2007 4:38 AM (in response to jbmpuser)I write the dates like DDMMYYYY because I am spanish.
Also, we would like compare if one date is 15 days great than other date, then
if I write 16/01/2000 < 17/01/2000, the result is true and it is right,
but I write 16/01/2000 < 01/01/2005, the result is false and it is wrong
I am sorry my english!!! -
8. Re: compare dates
jbmpuser Feb 22, 2007 6:28 AM (in response to jbmpuser)In http://docs.jboss.org/jbpm/v3/userguide/jpdl.html#expressions I read:
expression="#{myVar.handler[assignments].assign}"
can it be useful??