
Announcements
Hello everyone,
I'm trying to get the last child of a drop-down menu by getting the details of drop-down by expanding the drop-down menu. Can anyone help me with the selector to get the last child of the drop-down menu. Please find the screenshots for reference.
Thanks,
Karthik.
Try setting the "Ordinal" parameter to -1.
Alternatively, you may want to use Extract data from window or Get details of element in window to get the values out and then get the name of the last item into a variable. You can then use that in the selector by passing in a variable. See here for reference: https://learn.microsoft.com/en-us/power-automate/desktop-flows/build-custom-selectors#use-variables-in-a-custom-selector
-------------------------------------------------------------------------
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.