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

Notifications

Announcements

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
    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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard