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 / How do i find what rec...
Power Automate
Unanswered

How do i find what record is erroring in a Get All Items

(0) ShareShare
ReportReport
Posted on by 83

I have a multi-line condition that seems to be encountering an issue with one of the SharePoint rows it processes but I cannot figure out what it is or what is the reason; It appears to be the date comparison but from what I can see all my SharePoint items contain a valid date and if I export to Excel go to row 92 - the date is indeed there. 

I'm trying to see exactly what Power Automate is having a problem with but "line1 - column 2895" is not helping me if i dump out the JSON file to notepad++ ; how can I see what is the actual problem here?

 

Screenshot_22.pngScreenshot_23.png

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at

    Hi!

    As I see your Condition action block has 4 condition rules defined. The onewith Column ETD on the left is the one that crashes in iteration 92. So column ETD seems to be empty for one of your SP items.

     

    I would modify your 'ETD' based current condition rule to override this error by means of the coalesce() WDL function. So if 'ETD' column value does not exist, coalesce() will provide a default alternate date. THe point is, what's your expectation in case this happens? Should the 'ETD' condition rule be evaluated as true or false? Since the four contidion rules are related via AND operator, once any of them is evaluated as False, flow will take the false branch.

    Hope this helps

  • efialttes Profile Picture
    14,756 on at

    One more comment

    In order to identify the record that is failing, you can add a 'Compose' action block just before the 'Condition' action block, and assign it the whole SP item from current iteration. Just select 'Current item' from dynamic content menu or, assign it the following WDL expression:

    item()

    Hope this helps

  • Andrew260z1 Profile Picture
    83 on at

    For sure I expect that there is an ETD for all records but in some cases there may not be; If you can link to me how to I might be able to use the coalesce() function for providing a default that would help me. Yes if the ETD is < Today - 3 days and the other conditions match take the true branch.

     

    Also thanks for the tip on the compose block - I will see what the item is.

  • efialttes Profile Picture
    14,756 on at

    Andrew

    Can you share current addDays() WDL expression you use to compare with ETD?

    I need it to see which date format you are handling inside ETD column, and share a customized coalesce() example

     

    Plesae also hover your mouse over the ETD column dynamic content (the one you added on the left part of your condition rule) and share the text displayed. The internal column name should be displayed there, I need it to customize the coalesce() example accordingly

     

    THanx!

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
David_MA Profile Picture

David_MA 86 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 55

#3
Ellis Karim Profile Picture

Ellis Karim 53 Super User 2026 Season 1

Last 30 days Overall leaderboard