Email notification to include details of the current logged in user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2024 11:35 PM
Hi everyone,
I'm trying to create a email notification where i want to include the details of the current logged in user in the email body.
The Use-case is whenever a user who has access to a table in my case (sn_risk_risk table) and if he tries to export the data a notification should be triggered to the 'it risk admin' group. I've figured out the way of how to trigger the notification.
Now I'm stuck at the part wherein i've to include the details of the user such as his name, email etc who was trying to export the data in the email body.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2024 11:39 PM
Hi @Jaiprakash you can create a notification email script and call that email script in your notification email body to print user details
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2024 12:15 AM
yeah harish i've created it but when i'm seeing the sent mail it shows system rather than the user details.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2024 11:50 PM
Hi @Jaiprakash
please follow some threads for triggering notification some ways:-
https://tech.forums.softwareag.com/t/servicenow-email-notification/237436
https://tech.forums.softwareag.com/t/servicenow-email-notification-via-event/237437
Please mark reply as Helpful/Correct, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2024 12:15 AM
Hi Ram,
thanks for the reply but I'm not stuck at the triggering part. I'm stuck at the notification email script where in i'm trying to populate the details of the current logged in user who is trying to export the data