cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Crockerfeller
Level: Powered On

Planner Create Task - Not setting correct due date.

Hi All,

I am using a SharPoint form to submit a request that starts off as a SharePoint list item.  In the form, users are selecting a due date.  

A flow trigger catches the new item, and it then uses the Planner Create Task action to create a task in my Plan.  This is working great.  The problem is... the due date appears correct in the SP list, but when I use the dynamic content for the due date field in the MS Flow Planner Create Task action... the date that appears in the Task is incorrect.  The date is showing in the Task as 1 day earlier than the due date chosen by the user, and what is seen in SharePoint.

Any thoughts on how to fix this?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Planner Create Task - Not setting correct due date.

Hi @Crockerfeller,

 

I think this has something to do with Time zone, so there is a time difference between the time taken in SharePoint and the time inserted into Planner task.

For example, if the DueDate field contains Time, then the time acquired in Flow will be different from the one displayed in the list, so the time inserted into the Task will be different.

Like:

35.PNG36.PNG37.PNG

If the DueDate does not contain a Time, then the obtained Date is the same, I did the test on my side, there is no error you mentioned.

38.PNG39.PNG

If you're confirming the problem caused by the time difference, you could consider using the addHours() function to eliminate the time difference, or use the Convert time zone action to eliminate the time difference.

 

Best Regards

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
SCTdan
Level 8

Re: Planner Create Task - Not setting correct due date.

I've seen this come up before I believe. I'm on the run right now and not in a position to search for it, but if I recall correctly, this has to do with the due date being considered an "all-day event".  Not much sorry, but hopefully points you in the right direction.  

Super User
Super User

Re: Planner Create Task - Not setting correct due date.

"The problem is... the due date appears correct in the SP list, but when I use the dynamic content for the due date field in the MS Flow Planner Create Task action... the date that appears in the Task is incorrect.  The date is showing in the Task as 1 day earlier than the due date chosen by the user, and what is seen in SharePoint."

 

In order to troubleshoot this for you ... can you please post pics of your flow?

 

Any errors or identifiers that will help with the investigation welcome.

 

Thnaks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Community Support Team
Community Support Team

Re: Planner Create Task - Not setting correct due date.

Hi @Crockerfeller,

 

I think this has something to do with Time zone, so there is a time difference between the time taken in SharePoint and the time inserted into Planner task.

For example, if the DueDate field contains Time, then the time acquired in Flow will be different from the one displayed in the list, so the time inserted into the Task will be different.

Like:

35.PNG36.PNG37.PNG

If the DueDate does not contain a Time, then the obtained Date is the same, I did the test on my side, there is no error you mentioned.

38.PNG39.PNG

If you're confirming the problem caused by the time difference, you could consider using the addHours() function to eliminate the time difference, or use the Convert time zone action to eliminate the time difference.

 

Best Regards

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

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 (3,759)