Event Trigger Notification Variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2023 07:24 PM
Hi,
There is an OOTB notification which is triggered by an event.
The table field is configured as HR case and the variables in Select variables section are fields of HR case table
The variables works as expected when using Preview Notification, but it does not work when the email is sent. Values in variables are blank or that of the survey record triggered.
I think this is because the trigger record of event is on the Assessment Instance table.
Do you have any information regarding this behavior?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2023 10:59 PM
I don't think it's an OOB Notification as I am not able to find it
That's correct. the notification is on HR case table so variables on it should be shown but did you check how this email is triggered? Is it based on some event or based on insert/update condition?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2023 11:07 PM
Hi, @Ankur Bawiskar
Thank you for your comment.
This notification is included in HRSD related plugin. So, your doesn't have it.
This notification is triggered by an event as below.
The event is triggered by a BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2023 11:09 PM
then it won't work as the current object would refer to Survey table
To show variables you need to use email script and include that email script in email body
I hope you are aware how it's done.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader