in work notes section how to show role name instead of agent name in email notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 08:26 AM
so we have a "comments added" notification, so when user receiving a notification , in the notification comments section agent name is showing ,we want to display role name instead of agent name (and need to check user has that role or not), using email scripts
PFB screenshot.
#email #scripts #notification

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 08:50 AM
Agent might be having multiple roles assigned to them. Which role do you want to fetch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 07:10 AM - edited 05-10-2024 07:13 AM
Hi @SumanthDosapati ,
thanks for response, Sorry for delay, so we have create "PQL admin" role, so whoever having that role , if that person commented we need to display that role instead of agent name.
below email script i am using to display comments without user name, but we need to display role name.