cancel
Showing results for 
Search instead for 
Did you mean: 

How to read names of pdf's in a folder ?

SwatiAgrawal
Level 5
Hi,

I need the bot to do following -
1. Go to folder location.
2. Open folder
3. Read names of documents/pdf's that are placed in a folder.
4. Store names of documents/pdf's in a collection.

Is that possible. Please suggest how can this be achieved ?
Placing the screenshot below for reference. I need to retrieve names of documents & place in collection.
18412.png
Thanks in advance!!

------------------------------
Swati Agrawal
------------------------------
11 REPLIES 11

Hi Michael,

I am not allowed to make changes in the code as the environment I am working on is different 😞

Regards,
Swati

------------------------------
Swati Agrawal
------------------------------

Hi Swati,

The issue is in in this particular screenshot that you've provided:

18390.png
Here you are giving the 'Exact Value' parameter as "Filterout zero value accounts.Account". This will be read as an entire text and not as a data item by Blue Prism, instead of this try to provide this value as [Filterout zero value accounts.Account] where I have removed the double quotes and an enclosing it within square brackets as it it not a text but a data item stage holding the text. This way you are referencing the 'Account' field inside the 'Filterout zero value accounts collection' which you ideally want to do.

------------------------------
----------------------------------
Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
Wonderbotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.