AnsweredAssumed Answered

Using 2 Date Variables in Flow conditions of Exclusive Gateway

Question asked by adarshdesai on Aug 31, 2016
Latest reply on Aug 31, 2016 by adarshdesai
I have a BPMN with 2 date variables as follows:

Variable 1: actionRequiredTime = "Wed Aug 31 11:17:27 UTC 2016"


Variable 2:
def d = new Date();
execution.setVariable("currentTime", d)


In my flow I use ${currentTime >= actionRequiredTime}

BUT this does not work, I have verified that both time formats are stored as "Wed Aug 31 11:17:27 UTC 2016"

Can someone tell me if 2 date variables can be used in the flow condition? (${currentTime >= actionRequiredTime}) Thanks.

Outcomes