Exception, timer, and Timezone

Hello All!

What is the right way to set up exception for midnight in different timezone?

I have a subprocess with GMT timezone, but it overridden by the calling process to EST timezone.

The exception time set to CDT field that has Date type. Timer set with "Skip this node at the date and time specified by this expression:" with this value.

Unfortunately, the exception happens at GMT midnight, to EST. I tried to replace value with local(pv.expectedDate), but it moves the moment backward.

How I can have time trigger at EST midnight or how I can have a correct value for this expression?

  Discussion posts and replies are publicly visible

Parents
  • The local() and gmt() functions are used to arithmetically modify the stored GMT timestamp in a particular direction, so when used, it will be a number of hours off of the value that would otherwise have been used. These functions do not store the timezone offset with the returned value.
    If your requirement is user based use, override user's selected timezone from time zone setting. Thank you.
Reply
  • The local() and gmt() functions are used to arithmetically modify the stored GMT timestamp in a particular direction, so when used, it will be a number of hours off of the value that would otherwise have been used. These functions do not store the timezone offset with the returned value.
    If your requirement is user based use, override user's selected timezone from time zone setting. Thank you.
Children
No Data