- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2019 09:10 PM
Hello,
I have a knowledge notification which should be sent to author of the article whenever the approver rejects it. I have created an event and triggering it in after update business rule.
Created a notification and checked event param 1 and send to event creator checkbox, now the notification is going twice when the article is rejected. Please let me know if I need to make any other changes.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2019 01:18 AM
Hello,
I want to get the rejection comments in the notification which is available on the approval table, if I trigger the event from workflow I wont be able to populate the comments.
Do you have any thought on how this can be populated while triggering it from workflow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2019 11:11 PM
Hello,
But it is still triggering two emails for me.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2019 11:31 PM
does the both email notifications are same or different?
also what is the value your comparing with property? i
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2019 12:16 AM
Hi,
When I replaced the current.document_id.author with current.document_id.author.email the event is triggered only once but I am not able to see the notification in logs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2019 10:50 PM
Hello,
Excuse my late reply. A thought regarding your case, instead of adding this as a business rule on approval, why not add the notification to the workflow?
Add it as a notification triggered on rejection. That way you get access to the Knowledge article directly and don't have to use the somewhat fickle approval record.
The reason it triggers two times I believe is due to approval record doing additional work after having been first updated.
If you want to use the business rule, here's my thoughts on it:
Using current.document_id.author.email is not needed, as notifications takes the sys_id of users or groups and uses that to send to the registered email addresses.
In your business rule though, you do get the KB record, so instead of current.document_id.author, send gr.author (or even gr.author.sys_id).
With regards
Anton
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2019 01:18 AM
Hello,
I want to get the rejection comments in the notification which is available on the approval table, if I trigger the event from workflow I wont be able to populate the comments.
Do you have any thought on how this can be populated while triggering it from workflow.