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.

How to set "From" field in notifications dynamically.

prakhar_yadav
Tera Contributor

Hi Community,

 

I want to setup "from" field in notification part such that, whenever email will be sent to user, it should come from "Assigned to" person. And this assigned to person will change with every incident.

Screenshot 2024-05-10 at 7.26.25 PM.png

1 REPLY 1

Kieran Anson
Kilo Patron

You'd use a mail script for this Scripting for email notifications (servicenow.com) and the email.setFrom() api Mail script API (servicenow.com)