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.

ServiceNow sends a notification of SIR update with an attachment of its own record in a JSON Format.

gthapa
Tera Contributor

Hello Community,

 

My client has requested an email notification in the Security Incident Response application that includes a record of every update made to a specific SIR, with the details converted into JSON format and attached to the email. 

Now, I did a little research and found that any attachment linked to the SIR record could be attached to an email by following the script posted in this link in ServiceNowguru -https://servicenowguru.com/scripting/send-email-notification-attachments/

But, I would like to have some sort of rule in place that would automatically convert a SIR record of itself into a JSON format and attached to either its own SIR record OR be directly attached and sent in an email notification once converted into JSON format. 

Any assistance would be greatly appreciated!

 

0 REPLIES 0