- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2021 12:05 PM
Hello Experts,
I have requirement to hide name of HR agent hidden in email notification for "Case Commented".
If Additional Comment is added by "HR Agent" it should appear as "HR Agent" instead of User name.
If added by customer /opened_for, then display the name.
This needs to be in "Email". I tried using mail script but no success. Here is the mail script I got from another community post.
email is generated with following output
Solved! Go to Solution.
- Labels:
-
Instance Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2021 01:04 PM
Oh that's an easy enough fix. Variable references are CAPS sensitive in javascript, another good reason to copy+paste your variables instead of typing them. Just match case and you should get rid of that error, because "ticketId" is completely different from "ticketID"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2021 12:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2021 12:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2021 01:13 PM
So you would use that script to iterate over the comments and include/exclude whatever information you want. Don't want the Commented By? Don't add it! You can do whatever formatting you'd like to make it mirror the ${comments} you'd like, and then your mail script would replace that ${comments}.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2021 01:36 PM