cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vdowney
Level: Power Up

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
v-zhos-msft
Level 10

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

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!

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 Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,200)