cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
tom-pharmhr
Level: Powered On

Planner Notifications

Hi,

 

I am trying to create a flow that will send me a daily/weekly (To be decided) email notification listing all the tasks in planner that are assigned to me.

 

I can get an email with a list of tasks by using:

 

Recurrence > List my tasks > Filter array (Filter to show only not completed tasks) > Create HTML table using just the Title and dueDateTime field > Send me an email notification.

 

I am fairly happy I've got this far but have a few issues.

My first attempt sent me an email for each task that had ever been assign 😞 so I need one email that is a summary.

The biggest obstacle is the date for dueDateTime, it currently shows as 2017-12-31T12:00:00Z and I only need/want dd-MM-yyyy. I have tried using compose/select but these break the items out of the array using an apply to each item.

 

Is there a way to achieve this at this time or do I need to wait for more functionality?

 

TIA

 

Tom

2 REPLIES 2
Community Support Team
Community Support Team

Re: Planner Notifications

Hi tom-pharmhr,

 

Please try to use workflow definition language formatDateTime to format the dueDateTime to the format “dd-MM-yyyy”.

But you need to add a compose action and configure it as “@array(formatDateTime(items('Apply_to_each')?['dueDateTime'],'dd-MM-yyyy'))”.


Then in the Create HTML table action, select Custom for the Columns field, then select the Compose output for the Value field.
3.PNG


Please try it on your side. Hope it will work for you.


If you need more help, please feel free reply.

 

Best regards,
Mabel Mao

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
tom-pharmhr
Level: Powered On

Re: Planner Notifications

Hi Mabel,

 

Thank you for your suggestion, it was a step in the right direction as the date is now formatted correctly but I got 1 email for every task so had 20 emails. I'd like 1 email listing all 20 tasks in a HTML table or just a list.

 

Thank you

 

Tom

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,719)