cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
earljanff
Frequent Visitor

Set Drop-Down List Value in Window - Option was not found

Hello,

 

I am trying to select a Religion drop-down value.

 

If did not tick the "Use regular expression", it will fail with "Failed to perform the requested operation on the drop down list. Option 'Catholic' was not found" error message.

earljanff_1-1664953996010.png

Even if "Catholic" is available in the drop-down selection.

earljanff_2-1664954149850.png

 

If I tick the "Use regular expression", it is selecting the first match with the word "Catholic"

 

earljanff_0-1664953847952.png

earljanff_3-1664954225321.png

 

I have tried also to do a click on the drop-down element and send keys the "Catholic" but did not work.

 

Can somebody help me with this?

 

Thank you.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Henrik_M
Super User
Super User

Try putting ^ before your text and $ after. As described here: https://regexone.com/lesson/line_beginning_end  

View solution in original post

2 REPLIES 2
Henrik_M
Super User
Super User

Try putting ^ before your text and $ after. As described here: https://regexone.com/lesson/line_beginning_end  

earljanff
Frequent Visitor

Hi @Henrik_M ,

 

I put ^Catholic as value and it worked now. 

 

Thank you very much for your help!

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,275)