How to add KB contributor in approval/rejection mail, while sending a notification?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12 hours ago
Hi,
Could someone please assist me in adding the KB Contributor to the approval/rejection email notifications?
Thanks & regards,
Amit Kumar
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
32m ago
Hi @AmitK1382912422 ,
To Add the KB Contributor as a recipient using an Advanced Recipient Script in the notification.
Steps to follow
- Navigate to System Notification --Email -- Notifications
- Open the Knowledge Approval / Rejection notification
- Go to the Recipients tab
- Enable Advanced
- Add the following script
Advanced Recipient Script
var kb = current.sysapproval.getRefRecord();
if (kb && kb.isValidRecord()) {
answer = kb.kb_contributor; // or kb.author / custom contributor field
}
Notes
- Works for both approval and rejection notifications
- If the notification is based directly on kb_knowledge, you can instead add the contributor field under Users/Groups in fields
- Replace kb_contributor with the correct field if your instance uses author or a custom contributor field
If my response helped mark as helpful and accept the solution
