Hello - I would like to create a sequence that looks for files named, for example, “ABC” or “XYZ” then click and download the documents to a folder when identified by the bot. However, in the event there are no documents with the names “ABC” or “XYZ”, it should move to the next sequence that looks for documents named “SOD” etc. Please can someone help me with this? I am new to UI Path and still learning.
Can you please elaborate how the input data is available. From where you are going to download it. Having an ideal scenario where you are looking for a file named “ABC”, which is input through a dialog from the flow and is stored in a variable, searching in a specific website, you can use open application/browser activity to open the website and use UI element activities to input the data stored in the variable used in dialog. Use any kind of extraction, like table extraction and search for the data stored in the variable. In an if-else activity, if the file is found add some activities to download the same, else you can print a message the file doesn’t exists and exit the flow.
Hello all and thanks for your reply! The bot currently goes to Content Server and looks for specific pdf files. Once pdf files are identified by the bot, it will click download and download the documents to my local drive. I incorporated a “Try Catch Sequence” that will identify documents that have been named differently but still contain keywords. Now, the issue I’m having is sometimes certain files will not be readily available when the bot runs and when the bot cannot find these documents, it will stop running and give an error. How can I or should I program the bot to continue on to the next sequence without stopping?
Try to have check by some other work around and store the result in a flag if true than call this download sequence
Although the way it is handled here should be fine as in you have surrounded it with try catch
Are you calling any action or step sequence in exception ? @Kingsley_Edemidiong