- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2018 05:18 AM
Hello!
Is it possible to add to an email body the currently logged user's name and location?
For example,
Dear caller.first name,
Incident Number: xxxx
Short Description: xxxx
Priority: xxxx
Thank you.
Currently logged user's name
Currently logged user's location
Thanks!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2018 05:30 AM
Naveen makes a good point. Notifications can be triggered from different locations including Flow Designer, Workflow, Scheduled jobs, triggered from events or directly from record updates/inserts.
A universal approach would require you to evaluate all possible scenarios and ensure they are compliant so your notification script has at least the sys_id of the user who triggered the message.
Example, if they are triggered by an event, you can include gs.eventQueue() and use the third or fourth argument to pass gs.getUserID(). However you may to be in control of all the events triggered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2024 09:34 PM
I've figured out the notification trigger part by using the appsec.admin.export event. I'm stuck on how to populate the logged in user details in the email

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2018 05:30 AM
-Andrew Barnes
Join me at Developer Blog