what does email.from_sys_id do?

kannann_
Kilo Expert

Hi All,

Does anyone know what does the email.from_sys_id do? I know that it returns the sys id of the sender. But how does it manages to pick up the sys_id? Is it by searching the user record with the sender email id?

6 REPLIES 6

Uncle Rob
Kilo Patron

yes, but only if it finds a match to the email.   I believe if no match is found it uses the sys_id for guest.


what if there are 2 accounts with the same email id? Which account will it pick?


jose_valle
ServiceNow Employee
ServiceNow Employee

Hi Kannan,



I believe in this case, it just uses the first one it finds but it prefers a active one over an inactive one.



Hope this helps.



-Jose


pouyan
ServiceNow Employee
ServiceNow Employee

What if there are multiple e-mails tied to the same user? (i.e. user has 2 e-mails in their notification devices and want to approve from either one of those e-mails)