Hello All,
I have reviewed multiple confirmed solutions in this forum, but either I can't replicate the solutions or they don't work for me.
My scenario is (I think) pretty simple: if a meeting invite is received between certain hours --> do something.
I have created the following flow.
1. I trigger the flow when my account receives a new invite
2. Convert Start Time: I convert the "Start date" of the invite into an integer using the following expression
Int(concat(slice(triggerOutputs()?['body/start'], sub(indexOf(triggerOutputs()?['body/start'], ':'), 2), indexOf(triggerOutputs()?['body/start'], ':')), split(triggerOutputs()?['body/start'], ':')[1]))
3. Convert End Time: I convert the "End date" of the invite into an integer using the following expression
Int(concat(slice(triggerOutputs()?['body/end'], sub(indexOf(triggerOutputs()?['body/end'], ':'), 2), indexOf(triggerOutputs()?['body/end'], ':')), split(triggerOutputs()?['body/end'], ':')[1]))
4. I check if the Start Date is greater than 1130 and if the End Date is less than 1245

I tested the flow multiple times, but the condition returns always "False" even if the test invite is in between the defined hours. I can clearly see from the logs that my "Compose" actions work as expected, but somehow the condition doesn't. I start to think that it is because I am not comparing real numbers.

Any idea?
Thank you.