Is there a way I can send emails from multiple addresses when notifications are going out from ServiceNow?

Mussie
ServiceNow Employee
ServiceNow Employee

Hi Guys,

Can someone please confirm if there is a way that I can send emails from multiple addresses when notifications are going out from ServiceNow?
I have got a requirement where several different Request Management system (such as Finance, HR) want to use different email addresses as having one email doesn't meet their requirements.
Regards,

Mussie

1 ACCEPTED SOLUTION

Hi Mussie,



You can do like this:



if(current.requester.department=='Finance')


{


email.setFrom("Finance Service Desk <example@finance.com>");


}


else if(current.requester.department=='exm')


{


//your other conditions


}




Regards,


Rahul Jain


View solution in original post

5 REPLIES 5

Mussie
ServiceNow Employee
ServiceNow Employee

That did the trick, thank you.


Mussie