PDF - password protected files

Hi,

I have a document that is password protected and I would like to upload it into the storage bucket when the read pdf error occurs.

if its not password protected it must carry on with the write text file and uploading to the storage bucket.

Read PDF Text: The password is incorrect. is the error

Hi @Aki1111

In Catch block also use Upload Storage Bucket activity. If error occurs it went to catch block and it will upload the file.

Regards,

Wrap your Read PDF Text activity in try block.
in catch block check if Exception.Message = 'The password is incorrect'
if True - upload to storage bucket using Activities - Upload Storage File
else Rethrow the error so that your other exception handling logic can take care of it.