Hello,
Wrote a simple rule to check the future date. Below is the expression.
if(ri!inputDate>todate(tostring(now())),1,0)
Problem:
1. In process model: Before 10:00 AM, it is returning "1", for today date., after 10 :00 AM it is returning "0".
2. In expression editor: Before 10:00 AM, it is returning 0, for today date., after 10 :00 AM also, it is returning 0.
System Timezone AEST. selected in configuration.
Thanks
Discussion posts and replies are publicly visible
Following expression will work for you. In case of process model you can use pm!timezone instead of "AEST", if(ri!inputDate>todate(local(now(),"AEST")),1,0)