How to read the latest file from the Last quarter

With reference to [How to take previous quarter in uipath]

I have a file in the shared folder and bot needs to pick the latest file from the last quarter.
link: “D:\Accounting\Finance\RealState\LeaseExpirationRports\CY24\Q1\RealState Leases\Real Estate_Lease Expiration_Q1 as of 03.19.24.xls”

shared folder path: S:\Accounting\Finance\RealState\LeaseExpirationRports

  1. How to get the latest file from the last quarter?
    bot will run on mid may and has to read the latest file from last quarter (Jan-March 24)

  2. And how to validate if bot runs on Jan 2025 and has to pick the file from last quarter(Oct,Nov,Dec 2024)?

@ahmed4566

What are your quarters ?

This is a reference for you

Cheers

Bro I got the solution with the different approach but u tried so I appreciate that.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.