cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Recurrence - Daily Task duedate/time not triggering

Hello

I am currently building a task list in mircosoft flows from planner.

I have my tasks set daily and certain times to assign a task, i have the task set to be due 2 hours later from the time of assignment. The tasks are assigning correctly and at the right times. But the date time i have set isn't working, it will become due the next day.

 

microsoft flows.JPG

 

I run the flow and it shows the due date/time correctly, but in planner it isn't flagging as due

 

microsoft flows1.JPG

1 REPLY 1
Highlighted
Solution Sage
Solution Sage

Re: Recurrence - Daily Task duedate/time not triggering

Hi @vdowney ,

It's a time zone issue.

In flow, the date always uses the UTC time.

However, when the time transfers to other services, the date will convert from UTC to the local time.

So I suggest you use the convertFromUtc() function to get the correct time.

For more information about convertFromUtc() function, please take a reference:

https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#c...

I have made a test on my side, please take a try with the following workaround:

Expression reference:

convertFromUtc(utcNow(),'China Standard Time','yyyy-MM-ddTHH:mm:ssZ')
addHours(convertFromUtc(utcNow(),'China Standard Time','yyyy-MM-ddTHH:mm:ssZ'),2)

Capture5.PNG

Best Regards,

Community Support Team _ Zhongys

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

 

 

 

 

 

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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!

Top Solution Authors
Top Kudoed Authors
Users online (7,511)