File Name Doesnot Exist

Use file exist activity before the rename file activity to check the file exist or not. The output of File exist activity is Boolean datatype variable called bool_file.

Insert If activity to check the condition

- Condition -> bool_file = True

In then block insert rename file activity to rename the file. Delete the Rename file activity and insert it again and pass the variables.

Note - In the file_Name variable remove the .pdf extension at last.

Hope you understand!!

1 Like