Hello everyone, new bee here trying Power Automate. I've created a flow to get tasks from Planner and feed an Excel sheet, however, when comes to add dates I need to create and format expression. But when a task is created in Planner not always a Start Date is added. So, I'm trying the expression below and I'm getting nowhere, as Power Automate says the expression is invalid.
if(empty(items('LoopTasks')?[createdDateTime]), '', formatDatetime(items('LoopTasks')?['createdDateTime'],'dd/MM/yyyy'))