UID in email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2020 09:03 PM
Hi Team,
Any idea from where UID is set in email?
And why confidential once have a UID and rest doesnot have it?
- Labels:
-
Multiple Versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2020 09:46 PM
Hi Shristy.
One of the attributes of the "email" object that is available in Inbound Actions is the email's uid : email.uid . Sadly it is not documented (http://wiki.service-now.com/index.php?title=Inbound_Email_Actions) but you can see it is there if you print all the attributes of the email object: for (i in email) {gs.log(i);}
This uid corresponds to the "uid" column of the sys_email table. So all that's left is to do a GlideRecord query to the sys_email table with this uid as condition.
Thanks,
Mohit Kaushik
Mohit Kaushik
ServiceNow MVP (2023-2025)