Ho w to Field details and URL in Email notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 10:25 AM - edited 01-18-2024 11:36 PM
Hi,
Anyone can please help me on, how I can add Integration field details in the watchdog notification and URL(view) for that particular record.
Screenshots attached to this post.
Table : sn_vul_integration_run
Field: Integration
I have written one email script but it seems it's not working.
Script:
Thanks in advance.
Regards,
Juganta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 04:15 AM
Hi @jugantanayak ,
Could you use this modified line in your mail script.
Create a system property named 'instance_name' and store your company's domain ID in this system property. I guess you already have this system property in your company instance.
template.print('<a href="https://' + gs.getProperty('instance_name') + '.service-now.com/nav_to.do?uri=sn_vul_integration_run.do?sys_id=' + log + '"');
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Subhashis