Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Need help with email notification

Admin7267
Kilo Sage

I have a requirement of notification, when worknotes are updated, email body should have below line.

 

Worknotes of the incident has been updated by[who] on [when]

 

How to do that?

3 REPLIES 3

pethumdesilva
Tera Guru

Hi Tharun,

 

You can add field to your notification body in from "Select variable" section see the attachment, otherwise you can create  notification email script as a template and you can use it other notifications

 

https://developer.servicenow.com/dev.do#!/learn/learning-plans/vancouver/new_to_servicenow/app_store...

 

Regards,

Pethum

Andreas
Tera Contributor

Hi Tharun, 

i dont know if you want a Mail Notification for every Incident that has changes in the work notes, but if you do so, you can try this solution. You just build a new flow which is triggered if in the table "incidents" the "Work notes" are changed. (Screenshot 2024-01-09 115221.png) If there are changes it will trigger the Action in the flow which sends a Mail, where you can add the Information that you want. (Screenshot: Mail)
This solution is just a rough idea. 

Ayushi12
Mega Sage

Hi @Admin7267 
Create an email script and add it to the notification. You can use the Journal Entries[sys_journal_field] table to get work notes, created, created by value. Thanks.

Please mark this response as correct or helpful if it assisted you with your question.