Rename File Activity Error

Hello All,

I am using Rename File activity but getting an error Could not find a part of the path.

The file exist as well as the path also exist I even kept file exist condition and its coming true still getting an error as “Could not find a part of the path”

image

Look in the Locals panel to see the actual values for str_pdf and file_Name.

Show us the values.

@postwick

image

image

1 Like

Hi @marina.dutta

Try removing .pdf in the file_Name variable.

Hope it helps!!

You can’t have slashes (/) in a filename

@postwick

You mean this none “Candour Communications Private Limited (India)_GGN/23-24/152_27-Oct-23.pdf”

You have given this type of forward (/) slash this will not allow in the rename file activity.

Hope you understand!!

1 Like

Correct. You cannot have slashes in filenames.

image

1 Like

@postwick

This file name is allowed . I am getting file not found error again.

It’s the filename you’re trying to rename it to that is the problem.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.