Can we add both Email template and email script in Notification?

Snehal2
Kilo Guru

Hi Developers,

The following is the scenario:

One email template is to be created for Notification that contains the fields of incident like inc number, description, priority,etc

Then while creating the notification, I have to use this template and along with it I have to add some static text as per the different notifications.

Eg1: Notification for incident creator: The below incident has been created: (the other data comes from template)

Eg2: Notification for Assignment group: The below incident has been assigned to your group : (the other data comes from template) 

So many notifications are to be created with some changes using a template. 

So for this I had tried using the email script along with the template. But both are not woking together. Seperately its working.

So, can any one let me know how can above be done.

Thanks in advance.

6 REPLIES 6

Shashikant Yada
Tera Guru

Hi,

Can you share the screenshot of the email template and email script. 

Thanks
Shashikant

Hit Helpful or Correct on the impact of response.

Notification:

find_real_file.png

Email Template:

find_real_file.png

Email Script:

find_real_file.png

Output:

find_real_file.png

 

In Output I want :

Your incident is Resolved. (this data shud come from mail script)

Incident: INC12345

Description:ABC...       etc (this data shud come from template)

 

You can add the email script under Email template, but placing both email script and template separately will execute only one in the notification.

Thanks
Shashikant

Hit Helpful or Correct on the impact of response.