I am new to Uipath.
Try to build my first automation project.
I have built the routine to download PDF file from outlook.
but I would like to add another step to rename the file as per below format:
original file name + Domain Name - string before @ +date received the email
any help appreciated thanks
or can i use the file path to define the attachment name.
i.e.
“D:\xx\New folder"+ Path.GetFileNameWithoutExtension(attachmnt.Name)+”_"+DateTime.Now.Date.ToString(“dd-MM-yyyy”)+Path.GetExtension(attachmnt.Name)
but this return an error Save Attachments: Object reference not set to an instance of an object.