Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Copied flow and not working

(0) ShareShare
ReportReport
Posted on by 4

I added a new list with the same columns to Sharepoint and created an identical flow, but the new flow is not working. 

 

It's pretty simple—it looks at a list, extracts the birthday, converts it to day/mo, compares that with today, and then, if it's a match, sends an email. The second flow is identical. The only variable that changed was the list, but the list format is the same. 

 

The error is: Unable to process template language expressions in action 'Birthday_Month_Day' inputs at line '0' and column '0': 'In function 'formatDateTime', the value provided for date time string '25639' was not valid. The datetime string must match ISO 8601 format.'.


I don't know where it would have gotten a random 5-digit variable from. 

Screenshot 2024-05-21 at 1.12.50 PM.png

This is the format of the birthday in list 1

 

Screenshot 2024-05-21 at 1.13.39 PM.png

This is the format of the birthday in list 2. 

I assume it has something to do with the format, but in excel, they were both formatted short date the exact same way, but when I uploaded, they didn't upload the same. Thoughts? 

  • MSPower12345 Profile Picture
    4 on at
    Re: Copied flow and not working

    Hilariously, it was actually simpler than that. Some of the dates (3 to be exact) were converted to strings. That was it! 

  • Verified answer
    v-jefferni Profile Picture
    on at
    Re: Copied flow and not working

    Hi @MSPower12345 ,

     

    Based on my test, you created the new list from excel table but used wrong column type.

    vjefferni_0-1716343046815.png

     

    Besides, I found a case in SharePoint community, which said that if in Excel table there are more than 4 date columns, the list will create wrong type column. Is it the same situation as yours?

    Invalid date format while importing from excel to sharepoint list - Microsoft Community

     

    Best regards,

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow