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”
postwick
(Paul Ostwick)
January 12, 2024, 3:51pm
2
Look in the Locals panel to see the actual values for str_pdf and file_Name.
Show us the values.
mkankatala
(Mahesh Kankatala)
January 12, 2024, 4:15pm
4
Hi @marina.dutta
Try removing .pdf in the file_Name variable.
Hope it helps!!
postwick
(Paul Ostwick)
January 12, 2024, 4:15pm
5
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”
mkankatala
(Mahesh Kankatala)
January 12, 2024, 4:19pm
7
You have given this type of forward (/) slash this will not allow in the rename file activity.
Hope you understand!!
1 Like
postwick
(Paul Ostwick)
January 12, 2024, 5:14pm
8
Correct. You cannot have slashes in filenames.
1 Like
@postwick
This file name is allowed . I am getting file not found error again.
postwick
(Paul Ostwick)
January 15, 2024, 2:32pm
10
It’s the filename you’re trying to rename it to that is the problem.
system
(system)
Closed
January 18, 2024, 2:32pm
11
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.