how to attach dynamic email template in email notification?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2016 05:45 PM
I want to use different email templates for a single notification based on the severity. Basically, if Incident severity = 1, use severity1 template in email notification, if sev =2 , use sev2 template in same email notification.
one notification -> dynamic template based on condition. Is it possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2016 06:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2016 07:04 PM
Thank Mike for your reply.
But in this case, i need to create 4 email notification for each severity. that is duplicate notification.
I am looking to create one notification, inside that, based on that severity, use different templates.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2016 07:17 PM
Theoretically (I have never done it, but it should be possible), you can use notification email scripts. Create a script that, essentially, says:
if(current.priority == 0){
//do this html
}else if(current.priority == 1){
//do this html
}[...]
Then put that mail script in your notification, like so:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2016 08:08 PM