- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2022 03:46 PM
Hello all, I have seen a few posts relating to my query but have not found an answer that works.
My notification is on the knowledge table. When the approver rejects a kb article, the notification is not showing the approver name or approver comments - it is blank. How can I fetch these details to display it on the notification. What is best method please? Is creating email scripts the only way? Will I need 2 emails scripts, 1 for comments and 1 for approver?
Our approval process for KB articles have 2 approver levels:
Approver 1 = Peer Reviewer
Approver 2 = Knowledge Manager
Our current notification is set up as follows:
Thank you.
Solved! Go to Solution.
- Labels:
-
Notifications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2022 05:59 PM
Hi, the relationship between a knowledge article and it's approvals is a 1 to many relationship, and so there is no direct mapping to the approval record.
if you want to include the 'approval' record details in your notification then you could trigger your notification from sysapproval_approver and then dot.walk back to your KB record.
The other option would be to use a notification email script to query sysapproval_approver for the approval record, but running the notification on sysapproval_approver would be the cleanest solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2022 05:59 PM
Hi, the relationship between a knowledge article and it's approvals is a 1 to many relationship, and so there is no direct mapping to the approval record.
if you want to include the 'approval' record details in your notification then you could trigger your notification from sysapproval_approver and then dot.walk back to your KB record.
The other option would be to use a notification email script to query sysapproval_approver for the approval record, but running the notification on sysapproval_approver would be the cleanest solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2022 06:21 PM
Appreciate your reply Tony. When using the sysApproval table - we couldn't dot walk to send the reject notification to the Author. We changed the table to Knowledge, which now works except it's not able to fetch the comments/approver details to add to the notification? But sounds like an email script might do the trick? Do you have any email script samples to share to fetch comments/approver details? Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2022 11:20 AM
Hello Tony, We changed the target table back to sysapproval_approver and made it work by amending the Event in our Knowledge workflow. We didn't need the email scripts. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2024 12:04 PM
Hello Winnie , Can you please guide me How you did that I am having same issue looking to sort it the way you have done. Any help will be appreciated.