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 / Want to skip particula...
Power Automate
Unanswered

Want to skip particular div with if else condition!

(0) ShareShare
ReportReport
Posted on by 9

Hi,

1st screenshot div id =custom_calendar is exist

Shloka_Lakhani_2-1703675945915.png

 



2nd screenshot that div is not exist.

Shloka_Lakhani_1-1703675765205.png


Requirement is want to extract data from another div which is below to div class = "text-left".

want to handle this custom_calendar div with if else condition!

Thank you in advance.

Shloka

I have the same question (0)
  • UshaJyothiKasibhotla Profile Picture
    225 Moderator on at

    Use get details of the element on web page activity get attribute value 

    and proceed to next steps which you required

     

    Hope this helps

    Usha

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Shloka_Lakhani 

     

    Take this example:

     

    you want to skip the case when element div id="custom_calendar" exists.

    I have created an UI Element named Div calendar

    Nived_Nambiar_0-1703700405895.png

     

    Also created another UI Element which is to extract the data next to div class="text-left"

     

    Nived_Nambiar_1-1703700522849.png

     

    Now see below flow

    Nived_Nambiar_2-1703700599512.png

     

    first flow checks if div id="custom_calendar" exists or not 

    Nived_Nambiar_3-1703700631456.png

     

    if it is true, then use get details of element on webpage action to extract required attribute, here i am trying to extract text from the div element next to div class="text-left"

     

    Nived_Nambiar_4-1703700725234.png

     

     

    Hope it helps !

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

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