Hello,
I'm struggling with a problem on a SharePoint date not in ISO 8601 format.
Solved! Go to Solution.
Hi @Anonymous ,
We should add '' outside Created and need to remove '' outside the triggerBody()?[‘Create’].
Image reference:
Hope this helps.
Best Regards,
Hi!
TRy this instead:
formatDateTime(triggerBody()?['Created'], 'dd/mm/yyyy hh:mm tt')
Hope this helps
Proud to be a Flownaut!
Unfortunately it cannot help, there is a larger function around, at first I used the single quotes, still got me the same error.
Hi!
I am afraid the sintaxis from your first expression IS wrong.
You can simply add a dummy 'Compose' action block before the action block where your flow crashes, then assign my suggested expression as its input. REexecute the flow, see if it works
If it does, just share the whole expression (with the larger function around) so we can try to help putting the pieces together
Hope this helps
Proud to be a Flownaut!
Hello @Anonymous
Can you try to use the Convert time zone action. This will ensure your format matches ISO format
Proud to be a Flownaut!
Hi @Anonymous ,
We should add '' outside Created and need to remove '' outside the triggerBody()?[‘Create’].
Image reference:
Hope this helps.
Best Regards,
That worked like a charm, thank you ! 🙂