Wants to Rename Save attachment file

I wants to Rename the save attachment as attachment name like flight17072019 as every per hour it’s name changes in date tell me how too change the attachment name.

1 Like

Hi

yes of course we can use move file activity to save the file name we want
like this
pass the file path of the file in the source property
and in destination property
mention like
"yourfilepath\"+“yourfilename”+"_"+Now.ToString(ddMMyyyy)
+".yourfileextension"

For more info on this


https://forum.uipath.com/t/how-to-rename-the-attachment-file-after-downloading-from-outlook/11886

Cheers @Shubham4323

Hi @Shubham4323

Check this post

How to rename the attachment file after downloading from outlook.?

Thanks
Ashwin.S

Hi @Shubham4323,
Check This pic for renaming the attachment place this inside for loop.Capture

  1. the filepath is the destination path for move file, the path is the original path.
    2.The file path and the path are same folder path but except the file name.
    Cheers.
    Vashisht