Hi,
I've just started to work with flow and have been testing out various functionality. I want to create a flow that activates your OOO for 1 hour and I have tried the following without success:
Start: @{addhours(utcnow(),1)}
End: @{addhours(utcnow(),2)}
ERROR: "message": "Invalid value '@{addhours(utcnow(),1)}' for parameter 'ScheduledStartDateTimeOffset'",
Start: "@{addhours(utcnow(),1)}"
End: "@{addhours(utcnow(),2)}"
ERROR: "message": "Invalid value '\"2017-05-11T10:43:33.8798644Z\"' for parameter 'ScheduledStartDateTimeOffset'",
Start: "@{concat(formatDateTime(addhours(utcnow(),1),'s'),'-00:00')}"
End: "@{concat(formatDateTime(addhours(utcnow(),2),'s'),'-00:00')}"
ERROR: "message": "Invalid value '\"2017-05-11T12:18:08-00:00\"' for parameter 'ScheduledStartDateTimeOffset'",
For some reason, the fields seem to require quotation marks around the date expression ... but then that makes it invalid. If I type in the dates manually it works perfectly. There is a calendar flow template that uses the utc date expression and that seems to work fine.
Am I being stupid and missing something obvious or is this a bug with this particular Outlook action?
Hope you can help,
Many thanks
Maurice