If this two files exist means it sould do one operatiopn if not exist means it will skip the futher operation and bot will stop. Files name will vary in the date format only here is 06052022 and next day will be 07052022
Use Path Exists activity for that and give the full path let’s say it is in C:\ then write as below
C:"C_MRG_TMR_12881_“+Now.ToString(ddMMyyyy)+”_01.xlsx"
and declare a variable for the PathExist like CfileExists
repeat same for another file and declare a variable as FfileExists
Now use If activity and write as
CfileExists = True and FfileExists = True
in then-> both files are exist
Else-> one of the file / both files not exists
Hi @Rahul_Unnikrishnan
Please go through the code I attached here. Here I created an in argument called in_str_Folder path… pass the folder path to that argument and just run it.