I am having trouble formatting and printing a date field in an e-mail.
The date field in question only needs to be entered and displayed on the e-mail if a date has been entered, and I want the date formatted into dd-MM-yyyy instead of the default yyyy-mm-dd format
I have tried the following expression, but I keep getting an error saying that the expression is invalid:
However the following expression (without the date formatting) works:
There is a typo in the WDL function name
If the problem persists, please share triggerBody()?['EndDate'] contant that make the expression fail
Hope this saves your day
Proud to be a Flownaut!
If not, try with formatDateTime(item()?['EndDate'], 'dd-MM-yyyy')
Check out the on demand sessions that are available now!
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.