UID in email

Shristy1
Kilo Expert

find_real_file.png

 

Hi Team,

 

Any idea from where UID is set in email?

And why confidential once have a UID and rest doesnot have it?

1 REPLY 1

Mohit Kaushik
Mega Sage
Mega Sage

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

Thanks,
Mohit Kaushik
ServiceNow MVP (2023-2025)