Hi
@SakshiShivhare,
You can try below code to rename Email's Subject -
- Input Parameter - 1. Entry ID (Text) 2. Subject (Text)
- Output Parameter - 1. Success (Flag)
Code Stage -
- Inputs -
- Outputs -
- Code -
Dim app = CreateObject("Outlook.Application")
Dim _nameSpace As Microsoft.Office.Interop.Outlook.NameSpace = app.GetNameSpace("MAPI")
Dim item = _nameSpace.GetItemFromID(Entry_ID)
'Below line of code will update the subject line'
item.Subject = Subject
'Below Code will save the updated subject'
item.Save
'Below code will verify the updated subject'
If item.Subject = Subject
Success = True
Else
Success = False
End If
------------------------------
KirtiMaan Talwar
Consultant
Deloitte
------------------------------
KirtiMaan Talwar
IA Consultant
Deloitte USI