Advice on what should I do

Hi rookie user here, would like to ask how should I go about in running my process.

I’ve already created a desktop automation process for the pdf files in the folder.

I’m trying to use a loop to get UI Path to do the same function on ALL of the pdf files in the folder. However, when I run loop it always only runs on the FIRST pdf file ONLY.

I believe the error is the clicking function as I’ve instructed it to manually click the first element, thus can I ask what function/method/way should I implement so that it clicks on the next element after clicking on the first element and so on so forth. How should I fix it?

Thank you!

You can use a Snippet in built code to read every file from folder or you can build your own code Directory.GetFiles() and the apply for each on every file and read pdf files

1 Like