I have to download file and that file available on some of holidays. So how i can download that file, even maintaining the holiday list which days file is available.
For example on 15 Aug officially holiday but on that day file is available so bot will run on next working day and download file of 15th aug
Thanks.
As per basic understanding of your use case, I think you can add timestamp to your file.
Have trigger placed to run on working days only.
Maintain a file with dates on which your report will be available.
In bot logic add a checkpoint to check for every past date you should have a downloaded file. If the file isn’t there, but should be downloading that file.
Yes, But the file name is on date base and i have to download regular file wich is working day also. Bot run every day mon to fridays, this scenario happens only few days wich is on some specific holiday and those date i stored in csv file
for stopping bot specifically for trigger you need to uplaod csv and select that as holiday calendar
from the bot perspective you can add an asset to check the last rundate and add the last run date in asset and then when you run again check all date between last run date and todays date ..so that any missed file is captured
So basically what I’m doing, getting last working day and current date, Between these two dates then I’m comparing the dates from csv file which i stored.
Ok ! So i don’t want to download file basis on last working day. I have to download the file on holidays which is available on some specific holidays. Wich i mentioned the dates.
For example on 15th aug is officially holiday and bot run on 16th but file is available on 15th then download the file of 15th aug.
if not also you want weekend to be considered if weekend falls on holiday?
is that the ask?
if you need to download based on date of holidays also get last workign date and find holidays between last working day and today..thsoe are the dates you need