Support > Forums > OpenBots Studio > Filtering Get Files
Can I filter Get Files to only pull .xlsx out of a folder? I know I can pull all and filter the list later. Not really looking for a workaround, just curious if it is possible to filter Get Files.
Thanks,
Mike
This forum has 317 topics, 687 replies, and was last updated 4 months ago by Nataly Alvarado...
Of course, we will integrate this feature with the Get Files commands in the upcoming release. In the meantime, please note that you can easily filter the paths output by using a C# query with the Set Variable command.
vFilteredPathList = vPathOutputList.Where(f => Path.GetExtension(f).Equals(".xlsx")).ToList()
Hi Guys..this is a must do feature. We invariably need to get only .pdf or .csv files from a folder and need to ignore subfolders...emails often come in with random attachments in addition to the pdf we want.........
Hi MICANN001,
Thankyou for your query. As of now we don�t have a search pattern to filter specific extension files in the Get Files command. As per your suggestion we would consider to add this as new feature in the future.
Appreciate your suggestion.
You are not authorized to reply, please click here to login and add your reply to this topic.