- Save Attachment Activity
temp = 0
While temp <= item.Attachments.Count (for multiple)
- If File exisits (Path+attachement(0).Name) // replace 0 with temp
then
strFileName = Path.GetFileNameWithoutExtension(Path+attachement(0).Name) // replace 0 with temp
strFileExt = Path.GetExtension(Path+attachement(0).Name) // replace 0 with temp
then Invoke Method → File.Move
params : srcPath : Path+**attachement.Name**
destPath : Path+strFileName+{YOUR DIGITS}+"."+strFileExt
temp++
Attachments.xaml (12.1 KB)