Knowledge Feedback Tasks are created when article is flagged or marked as helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2023 09:28 AM
Hi everyone,
I am having an issue when trying to mark an article as Helpful or Flagged it, KFT is still getting triggered even though some properties are set up like below.
Or it also happens in a case when I gave no rating but marked article as Helpful, KFT was still being created and Description said KB was rated low.
Does anyone have an idea on how to address this?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2024 01:25 PM
I have been researching this as well since I still have the same issue (seeing you posted back in July). Not sure if this is the answer or may lead to one, but I would start looking at the Business Rule: Knowledge Feedback Task Creation. You may need to look at the filter conditions and script conditions.
The script is as follows in my instance:
(function executeRule(current, previous /*null when async*/) {
var feedback_obj = {};
feedback_obj.feedback = current.sys_id;
if(current.comments)
feedback_obj.description = current.comments;
else if(current.useful == "no")
feedback_obj.description = gs.getMessage("{0} was marked as not helpful",current.article.getDisplayValue());
else
feedback_obj.description = gs.getMessage("{0} was rated low",current.article.getDisplayValue());
new KBFeedbackTask().createFeedbackTask(feedback_obj, current.flagged);
})(current, previous);
In the final else statement in the script, I found that it was setting the description "KB00*** was rated low" even when an article was marked helpful. I believe the conditions need to be updated but still testing. I also found that the filter conditions on the "when to run" tab of the business rule had been updated by someone.