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.

Include attachment to Email notification on certain condition

Bchaudhary
Tera Contributor

Hey, 

 

Anyone know the alternative way of Include Attachment checkbox in Email notification. I am trying to create an email notification on incident record and want to send that notification with attachment on incident record on certain state of Incident.

11 REPLIES 11

Hi @Bchaudhary What is the error you get? I think external users might not have access to read data in attachment, in that case update read acl on attachment table

Regards
Harish

@Harish KM , Yes, you are right. Due to security and privacy purpose, I can't give them an access through read ACL

Hi @Bchaudhary then modify ACL accordingly that should work.

 

Please accept my solution if my response was helpful.

Regards
Harish

Bchaudhary
Tera Contributor

@Harish KM Isn't possible with scripting in mail script? As don't want to touch ACLs of sys_attachment table.

Hi @Bchaudhary you have 2 options

1. with script

2. Have 2 Notifications , one to send attachment and the other not to send attachment

Regards
Harish