Get folder contents "all of yersterday"

Hi all

I am working on reconciliation. I need to reconcile files that drop into a folder a number of times during the day. When the robot is run I need it to get all of yesterday’s contents only. Is there a way of setting the from and to date to “yesterday” and “today”?

1 Like

@MalusiSBS you cannot set such filter in the action. However, you can read all the files from the folder and then use a custom action to get modified dates for all files and filter the list.

Here is a sample recording.
get_yesterday_files.zip (1.3 KB)

Hope it helps!

Thank you Ashapkina

this worked. i will incorporate it into my full script

1 Like