
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 10:16 PM
Hello ,
I have case to send the notification to impersonated user of "People solution" group
For this, We created script action , event, notification and mail script.
We are not able to fetch parm1 and parm2 in mail script. We get either of event parameter and not both.
Script action-
${event.parm1} impersonated ${event.parm2} account.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2025 11:30 PM
Hi @Community Alums , in here - gs.eventQueue('impersonation.people_support', 'sys_user', impersonater_user1, impersonate_user); instead of that - use
gs.eventQueue('impersonation.people_support', grUserMemberCheck, impersonater_user1, impersonate_user);
If It's still not working. Please log the values of the 'impersonater' and 'impersonate' variables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2025 12:08 AM
@Community Alums
notification is on which table?
How are you configuring the recipient?
this line expects a GlideRecord object of the table on which notification is configured
Event should also be on same table
If your notification, event is on sys_user_grmember table then use this
Also ensure you pass the recipient correctly
gs.eventQueue('impersonation.people_support', grUserMemberCheck , impersonater_user1, impersonate_user);
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2025 12:28 AM
@Community Alums
Thank you for marking my response as helpful.
As per new community feature you can mark multiple responses as correct.
If my response helped please mark it correct as well so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader