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.

notify the Requestor’s Manager, and cc the Requested For

Ni_a Sy
Tera Contributor

I created a workflow but my requirement is notify the Requestor’s Manager, and cc the Requested For

My questions are:

1. How will a cc in notification at workflow?

2. How can I have email template in notification at workflow? I remember if I used sysevent_email_action , I can choose template and i always pick Employee notification template. How can I do that at workflow?

 

Thank you

 

 

7 REPLIES 7

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

Use the following mail script in workflow notification activity message to achieve that:

<html>
<body>
<mail_script>
email.addAddress("cc",current.variables.requested_for.manager.email.toString());
</mail_script>

 

However I would suggest is to create a notification where you can directly use email template and fire the notification using event in a run script from workflow

 

Please mark my answer as correct based on Impact.

Ni_a Sy
Tera Contributor

where will i insert that here?Thank you

Gontla Mythily
Tera Expert

 

Hi,

 

You can try flow designer to send notifications

 

GontlaMythily_2-1666070855077.png

 

GontlaMythily_0-1666070742177.png