cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tom-pharmhr
Regular Visitor

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
Community Support

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
Regular Visitor

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
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (8,364)