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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow keep old column name
Power Automate
Answered

Flow keep old column name

(0) ShareShare
ReportReport
Posted on by 213

 

@equals(formatDateTime(item()?['ExpiryDate'], 'MM/dd/yyyy'), formatDateTime(addDays(utcNow(), 2), 'MM/dd/yyyy'))

 

I have flow condition as above, initialy the ExpiryDate named was Anniversary. But, when the name change, the flow falis to run and returrn error.

 

cache.JPG

 

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @NurNida,

     

    Could you please share a screenshot of your flow's configuration?

     

    The error message told that the first parameter of the formatDateTime function is required to fill a string, but you provided is Null. I have made a test (Retrieve data from a SharePoint list) and the issue is confirmed on my side, if I change the column name, the flow would still reference the old column name within the expression formula, even though, the column name has been updated within the flow.

     

    You could consider take a try to modify your formula as below (reference old name) to solve your problem:

    @equals(formatDateTime(item()?['Anniversary'], 'MM/dd/yyyy'), formatDateTime(addDays(utcNow(), 2), 'MM/dd/yyyy'))

    In addition, you could also consider take a try to re-create your SharePoint list (I assume that you retrieve data from a SharePoint list) and try your flow again.

     

    Best regards,

    Kris

  • NurNida Profile Picture
    213 on at

    Yes. I have tp re - create the name.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard