I am trying to implement try catch in UIPath if filename is not proper and files are stored in a folder. Can anyone please help me with this issue?
Hi @Seema_Jethe
Clarification needed!
From my understanding Are you going to read a files a in folder if the file name is not proper it has catch the Exception and Move on to next file!
Regards
@pravin_calvin Yes your understanding is correct.
Hi @Seema_Jethe
Can we have elaborate of your requirement like which type of file you need neglect while processing?
Regards
@pravin_calvin If the filename is PAN Card.pdf or GST certificate.pdf or Blank Cheque.pdf only these files should be processed Can u please help me with this ?
1 Like
Hi @Seema_Jethe
I think we no need try catch for this case!
Refer to the Zip File below for starter help!
sample_Process_test.zip (8.5 KB)
Regards