Blue Prism Product

 View Only
last person joined: 19 hours ago 

This community covers the core Blue Prism RPA product.

  • 1.  How to pick a specific excel file from a folder?

    Posted 11-06-2023 08:08

    Hi there,

    I have a couple of downloaded Excel files, and I want to choose 1 file to move to another folder.

    Here're the Excel files and the process map & Downloads folder

    First, I use Get Files to get all Excel files and it working

    and the collection output

    Now I want to Filter the latest Excel File. and choose the file xxx20.48.44 to work on. Can you please show me how I can do that? Note: the Excel file name is given by "excel-yy-mm-dd_time.xlsx", therefore, the Excel file name will be changed time by time. Is there any way I can achieve that? [I know the Filter Collection action with the "latest written" but it's not a good choice since I dont know how to do it and many files arrived at the same time, and I want to filter and pick the file by name. Thank you!

    Mia Mikela

  • 2.  RE: How to pick a specific excel file from a folder?

    Posted 11-06-2023 09:00

    Hi @Mia Mikela

    The most straight forward way to do this is simply loop the collection and use InStr to identify the correct file name which can look for a part of the name rather than the full name of the file. Create a loop through the files and use a decision stage to check the name using InStr, the query would read InStr([Files.Name],"13-01-2023")>0 if this is true then you use the action Move file if not then onto the next file name. If the file date is dynamic then you can use the date functions in place of a static value e.g. FormatDate(Today(),"dd.MM.yyyy") will give todays date.

    Michael ONeil
    Technical Lead developer

  • 3.  RE: How to pick a specific excel file from a folder?

    Posted 11-06-2023 13:56

    @Mia Mikela

    The Date/Time format in the file names is perfect for alphanumeric sorting. You could simply use the "Sort Collection" action in BP's "Utility - Collection Manipulation" VBO to sort the file names in reverse order (the "Ascending Order" parameter set to "False"). This would push the latest file up to the top.

    Micheal Charron
    Senior Manager

  • 4.  RE: How to pick a specific excel file from a folder?

    Posted 11-06-2023 21:32

    Thanks Oneil and Charron, it working now :)

    Mia Mikela

Welcome to the Blue Prism RPA Product Community!

Whether you’re looking to manage a complex infrastructure, maintain security and compliance, bring new products to market faster, or gain operational speed and agility in an uncertain economy, Blue Prism delivers — with the flexibility you need to create the business you want. From deployment on-premise, through a cloud service provider or as SaaS, to a skillful and adaptable digital workforce that continually expands to meet your enterprise needs, you can gain enhanced operational insight and control while your people reclaim the time they need to focus on great work.

Product PageKnowledge BaseBlue Prism Training Offering
Product Research Programv6 End of Life


Blue Prism is intelligent automation — business-developed, no-code automation that pushes the boundaries of robotic process automation (RPA) to deliver value across any business process in a connected enterprise.

A combination of RPA with expanded cognitive and AI capabilities, Blue Prism is different than other automation technology on the market. With one Blue Prism license, you gain instant access to an already AI equipped digital workforce, along with the tools you need to build and delegate automations. Click here for more information on Blue Prism and Intelligent Automation.
To learn more about how Blue Prism RPA can help your organization and how much it will cost to get started, please Contact our Sales department.
Blue Prism RPA can be downloaded from our customer portal. If you would like to consume or download any material it is necessary to create an account on the Portal. Once you have registered, you can access the download options for Blue Prism here.
Yes! Installed on your own machine and supported by our training materials and product documentation, you can use all the features of the full enterprise product for free with our Blue Prism Trial – giving you the opportunity to learn the basics before moving to a full production implementation. Click here for more information and to download the trial.
Yes! You can access our known issue list for Blue Prism from our Support Portal.
Regardless of your industry, Blue Prism’s Digital Workforce can adhere to strict governance and compliance standards without limiting productivity. Click here for more information on how your industry can benefit from Blue Prism.