Hi all,
So I've got a flow that sends an email when a set of conditions are met.
I want to include the listed date in the body of the email but I'm having trouble with the code.
In my 'List rows present in a table' action I've got the parameter 'DateTime Format' set as ISO 8601 and then later in my flow at the email stage I've got it as
items('For_each')?['Date']
It works but the date displays as this '2024-08-08T00:00:00.000Z' and I want it to look like '2024-08-08'
I've tried using formatDateTime('yyy-MM-dd')?['Date'] in the email action and list rows action in a few different formats and orders but it always comes up as an error
Anyone know how to fix this?
Thanks!!