The CreatorCon Call for Content is officially open! Get started here.

How to add field detail from another table and URL in Email notification

jugantanayak
Tera Guru
 
   
 

 


 


Thanks in advance.

Regards,

Juganta

1 REPLY 1

Robin John
Kilo Sage

Hi there,
When the event is fired, which GlideRecord is passed as the "current" argument? What is the relationship between the GlideRecord and the sn_vul_integration_run?
If the Glide record passed is the Vulnerability Integration run, then you can get the Integration value simply as current.getDisplayValue('integration').
(Please validate if the Integration column name is "integration" otherwise replace it with the correct column name.) 


If no GlideRecord is passed, then I can see that you have the sys_id of the sn_sec_cmn_watch_log record. Check if it is possible to get the Integration or the Vulnerability Integration run record with that sys_id. If yes then in your script you can do a new GlideRecord and get the values.