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

If no html table

(1) ShareShare
ReportReport
Posted on by 80

Hi,

 

I have a desktop flow that extract html table from a webpage. The issue I have come to discover is, sometimes there isn't any transaction and that means no html table. How do include a condition to the flow to move on if no html table exist instead of stopping because there isn't a table to extract?

 

Thank you

I have the same question (0)
  • Deenuji_Loganathan_ Profile Picture
    6,255 Moderator on at

    @GenAi 

     

    How is your web page looks like with table value or without value?

     

    Meanwhile you may try to using the below recommended actions for the same:

     

    1. If web page contains and capture some element in your table

    Deenuji_0-1719891369670.png

     

    2. You can also use "Get details of element on web page"

     

    Deenuji_1-1719891467546.png

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @GenAi ,

     

    Are you getting error. What is the error your getting when there is no html table.

     

    Regards,

    Vishnu Reddy

  • GenAi Profile Picture
    80 on at

    My Webpage looks like this if there isn't any transaction, the flow works if there is a table but breaks if there isn't

    GenAi_0-1719932954269.png

    GenAi_1-1719932972608.png

     

     

  • GenAi Profile Picture
    80 on at

    Please see below the error I got and the webpage without a table

    GenAi_2-1719933027219.png

    GenAi_3-1719933065584.png

     

     

  • Verified answer
    Deenuji_Loganathan_ Profile Picture
    6,255 Moderator on at

    @GenAi 

     

    Ok got it. Before extract the table from web page, just place the below action and add "No Transaction Found" text as element. If it exists, then don't execute the extract table and skip the extraction process and else you place the extract table actions. Hope you understand this logic. 

     

    Deenuji_0-1719935060101.png

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

     

  • GenAi Profile Picture
    80 on at

    I followed your logic and structured it below, it worked, thank you 

    GenAi_0-1719960538738.png

     

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

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 389

#2
Vish WR Profile Picture

Vish WR 331

#3
David_MA Profile Picture

David_MA 298 Super User 2026 Season 1

Last 30 days Overall leaderboard