web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Update Overdue Task List
Power Automate
Answered

Update Overdue Task List

(0) ShareShare
ReportReport
Posted on by 10

I have a SharePoint Online task list, and I want to update a field called "Task Progress" if tasks are overdue: http://imgur.com/a/0G5It

 

I have developed a Flow that will update this task list: http://imgur.com/a/c3Ux9

 

However, when my Flow runs, the logic returns false, even if the tasks are overdue, and the task list is not updated: http://imgur.com/a/PCP4z

 

Please advise. Cheers!

Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    on at

    Hi @mhtedford,

     

    I think the issue here should be caused by the Due Date condition.

    Please click the advanced mode of the Due Date condition, if possible, share a screenshot about that.

    Modifying the formula into the following format should make it work:

    @lesstOrEquals(formatDateTime(item()?['Due_x0020_Date'],'yyyy-MM-dd'), utcnow('yyyy-MM-dd'))

    I saw the screenshot under the Compose Action, AddDays function adds 0 to UTCNow(), if you would like to just format the current Date, then we could take use of UTCNow('Format')

    Besides, The formula I shared above may not show the proper Due Date content, make sure the Due Date part matches.

    Check to see if this would make it work.

    Function reference:

    Workflow Definition Language

    Regards,

    Michael

  • Verified answer
    mhtedford Profile Picture
    10 on at

    @v-micsh-msft

    Michael,

     

    I input your logic into my Due Date condition, as you can see here: http://imgur.com/a/IsDoi

     

    However, when I run my flow, I receive this error:

    Unable to process template language expressions for action 'Check_Past_Due_Date_Condition' at line '1' and column '2051': 'The template language function 'formatDateTime' expects its first parameter to be of type string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#formatdatetime for usage details.'.

     

    Here is a picture of the error within my flow management: http://imgur.com/a/v31tW

     

    Cheers!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard