This discussion is archived
3 Replies Latest reply: May 11, 2012 8:05 AM by 746464 RSS

BPM: Gateway: Compare date fields to now

746464 Newbie
Currently Being Moderated
Hello,

I have a structure named "Timer", containing multiple fields.
One of the field is "ExpiryDate", which is of type "Time".

In a script activity, I can for example use a simple expression to map 'now' to the "ExpiryDate".

But in a gateway, when I try to do something like myTimer.ExpiryDate < 'now', JDev always says "Invalid expression".

I don't know what's wrong.

Does someone know how to do this ?

Thank you,

Benjamin

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points