So, I have been hammering away at a seemingly simple flow. The idea is, if i get an email after a certain time of the day, send an auto-response stating that all agents are off work, and for emergency support, follow a process..
So, I create the condition, testing the DateTimeReceived field like this:
@greater(substring(triggerBody()?['DateTimeReceived'],11,8), '17:00:00')
This is based on the following value in the incoming email object...
Received Time
2016-09-12T20:05:44+00:00
Yet, when an email pushes through the flow, I get the following message...
I have looked around a bit, but was unable to find anything that helps me understand if this can work or not. I did find this, which suggests I am in the right neighborhood, but have been unable to get an email through the condition check.
Any ideas on what I am doing wrong? Any ideas on an alternative solution?
Thanks