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 / Selecting Variable Pos...
Power Automate
Unanswered

Selecting Variable Position Drop-down

(0) ShareShare
ReportReport
Posted on by 4

Hi, 

I need to select a drop-down on a website that may be in different positions each time.  The drop could in positions where 1001 - Roofing is to where the drop down is currently. Any ideas on how to do this? My only thought so far is to create an action for each position and go to the next if it fails. Drop Down.png

  • VJR Profile Picture
    7,635 on at

    Hi @JMullins21 

     

    The "Set dropdown list value on webpage" action also has an option to select the value in the dropdown by its name value. Can you use that to pass 1001 - Roofing.

     

    If any difficulty then right click, inspect the element and see the html code for the dropdown. That might give some hints as to how to use it.

     

    VJR_0-1635392043026.png

     

     

    If that is still not working, then you can use Sendkeys into the dropdown and type 1001 - Roofing and then press TAB or ENTER depending on how your application works.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

    I am able to enter the information once the menu is selected. What I can't do is select the drop-down because it's position changes based on how many other cost codes are entered. Is there a way to search for the drop-down versus a specific position of a drop-down.

  • VJR Profile Picture
    7,635 on at

    Hi @Jmullins513 

     

    The screenshot that I have shared above is for selecting based on the text (and not by position). Have you tried that?

    Also if that does not work have you tried the second option of sendkeys also which I have mentioned in the post.

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard