Choose first occurence of several variables

Hi gang,

here’s my question - from a database-system I need to choose a certain filetype. This filetype can be labelled with one of three names. I need to choose the most recent file (i.e. first occurence), that has either one of those three names. Due to the system responding poorly to native screen scraping I’ve been trying around with the “Click OCR Text” activity, but am stuck as to get it to click on the first occurence of Name1 AND Name2 AND Name3.

Cheers

Hi
Welcome back to UiPath community
hope this would help you

Kindly try this and let know for any queries or clarification
Cheers @Maemaebrother

2 Likes

Thanks for the reply.

The suggestion does not exactly fit my problem. I.e., I have a list like this:

Notification
Bill
Note
Note-Combined
Bill
Insurance Contract
Bill
Bill
etc.

“Notification”, “Note” and “Note-Combined” are all the same type of file, only labelled differently.
I need to click on the one that is highest up the list. As it is in a for each activity and the list changes from case to case, I cannot compare it to anything. I simply need to choose Either “Notification” OR “Note” OR “Note-combined”, depending on which one occurs first in the list.

Hope that clarifies the problem.