


Hi,
We get some events triggered at 4 am at night and we want to wait until the next day at 9 am until we send the e-mails.
I saw that I could use the expression field for that, but I have no idea how to code it. I also couldn't really find it in the documentation.
So I basically want what is already an example in the picture, but instead of wait till the end of the day, I want to wait till the next morning. How can I do that?
Thank you!
Views
Replies
Sign in to like this content
Total Likes
Try setHours(toDateTimeOnly(toDateOnly(now())), 9)
Check out below links
Hi,
Thank you! I will try that 🙂
Views
Replies
Sign in to like this content
Total Likes
does the 9 stand for 9am? If I wanted to do 7.30pm would it be 19:30??
Views
Replies
Sign in to like this content
Total Likes
You Can set it like this in the custom Type of wait expression
toDateTimeOnly(setHours(nowWithDelta(1,"days"),9))
Thank you! I am going to try this 🙂
Views
Replies
Sign in to like this content
Total Likes
Hi @icostan2,
Were you able to resolve this query with the help of the given solutions or do you still need more help here? Do let us know. In case the given solutions were helpful, then kindly choose the one that helped you the most as the 'Correct Reply'.
Thanks!
Views
Replies
Sign in to like this content
Total Likes