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 / Ordinal Position Changing
Power Automate
Answered

Ordinal Position Changing

(0) ShareShare
ReportReport
Posted on by 72

Have a situation in PAD that I have not ran into before. I have a website table with several hundred rows that I am looping through and everything works fine till I get to the bottom of the window and the UI has to scroll in order to select the next element. It seem that once the scroll is occurring the ordinal position of the HTML element is getting changed as well resulting in my flow selecting the record prior to the what should be current record. Wanted to see if anyone has ran into a similar issue and any feedback would be greatly appreciated. 

 

Thanks,  

I have the same question (0)
  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    I would assume your page loads the values as you scroll using JS and thus at a given time it only "contains" the data that is visible on the screen. If that is true, these sorts of pages are usually a pain to navigate. 

     

    If that is the case, what you might have to do, is make sure that you keep extracting your data before processing each row, so that you make sure you're clicking on the right one. I have done something like that a few times. Not because of the scroll changing the ordinal position of a row, but sometimes simply because processing a value would take me to another page, and then once I had returned, new values could have popped up in the meantime, sending previous values down in the list.

     

    So, I would initially capture the entire list to know what I'm processing, but before I process any row, I would capture the list again to find the position of the current value I'm looking for.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 227

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard