I am using the template "Create a daily summary of Planner Tasks by Bucket" and am trying to customize it.
I want to change the "value planner due date" date format to a more user friendlt option but when I enter an expression instead of the value it crashes the flow.
When I replace the value below with the following expression the flow fails:
Solved! Go to Solution.
Hi @Afex ,
You want to change the "value planner due date" date format in the flow.
I have made a test for your scenario, please check it for a reference.
I added two 'compose' action before the 'Set TaskDetails variable' action.
The expression of 'Compose 2' is:
Best Regards,
Community Support Team _ Zhongys
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Afex ,
You want to change the "value planner due date" date format in the flow.
I have made a test for your scenario, please check it for a reference.
I added two 'compose' action before the 'Set TaskDetails variable' action.
The expression of 'Compose 2' is:
Best Regards,
Community Support Team _ Zhongys
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you! How did you create the function/expressions to go into Compose 2? When I created the second compose action and copied and pasted the expression in the value text box it didn't turn into a Function.
Flow doesn't like copying and pasting unless it's plain text. In the Compose 2 go over to the Expression tab on the right and paste in or type
formatDateTime(outputs('Compose'),'yyyy-MM-dd')
then click OK.
Rob
Los Gallardos
Thank you for this. A few years later and still useful 🙂 I took your text and added a condition to check if it was null first since some people on the team didn't enter due dates and caused this to fail.