Send a Mention Email Notification for Incident Records

SParker12
Tera Contributor

Hello,

 

I want to create a email notification for when a user gets mentioned in a Incident form. I tried using the live_notification but it doesn't incident numbers and will show up as blank when previewing notifications.

 

I've tried using the incident table but when I go to select users/groups the option for User[sys_users] is not available. 

9 REPLIES 9

Tony Chatfield1
Kilo Patron

Hi, checking a PDI the incident number is present on live_notification as the 'title' field and so I would expect this to be mappable. Otherwise you could use a notification email script to lookup the incident via the document and table fields and this would allow you to return any incident values into your @mentions notification.

This is what I'm getting after using the title, it's blank when I preview the notification.

If you look at the OOB @mentions notification the task number (and other details) are populated by this notification email script.
/nav_to.do?uri=sys_script_email.do?sys_id=381391d09f021200d5f9b3e2957fcf1d

 

You should be able to create your own notification script using this script as a reference.

I'm new to this. How would I start it?