I have a workflow where I download a excel file from a web application, but everytime I try to download, the name of the downloaded excel file changes according to date.
For Eg -
Today is 28th March So the file downloaded today will be named as ABC_28_03_2022.
But Tomorrow is 29th March so the file downloaded will be named as ABC_29_03_2022.
How do I tackle this everytime file name change situation ?
@Ishan_Shelke1 You can write logic like this ABC_Now.ToString(“MM_dd_yyyy”). This logic makes the bot to always looks for the file with current data
Hi @Ishan_Shelke1 ,
Have you tried using the Below Activity :
Below Downloading Do you have Any Save as in the Web Page
If Yes, Try to use Type Into activity
"Your Folder path\"+"ABC"+DateTime.Now.ToString("dd-MM-yyyy")+".xlsx"
Thanks Broski. This activity solved my problem.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.