Agent Assist work notes not added when unattaching, flagging, or marking articles as helpfulIssue When you unattach an article, flag an article, or mark an article as Helpful using Agent Assist, the system does not add a corresponding work note. The system does add a comment when you attach an article. Release All Cause This behavior is expected. Resolution A possible workaround is to create an after-delete business rule on the m2m_kb_task table to add the work note when an article is unattached. The rule performs the same action that the system previously performed. 1.Create a new business rule on the m2m_kb_task table. 2.Set the rule to run after a delete. 3.Add the following script to the business rule. (function executeRule(current, previous /*null when async*/ ) { var gr = new GlideRecord('task'); if (gr.get(current.task)) { var article = new GlideRecord("kb_knowledge"); if (article.get(current.kb_knowledge)) { var s = gs.getMessage("Knowledge article {0}: \n", article.number); if (gs.getProperty("glide.ui.security.allow_codetag", "true") != "true") { s += article.short_description; } else { var displayValue; s = ''; var queryParameter = 'kb_view.do?sys_kb_id='; var shortDesc = GlideStringUtil.escapeHTML(article.short_description).trim(); displayValue = "<a title='" + shortDesc + "' href='"; displayValue += queryParameter + article.getUniqueValue() + "' >"; displayValue += article.number + " : " + shortDesc + "</a>"; s += "" + displayValue + ""; } var currentUser = gs.getUser(); var content = gs.getMessage("{0} unattached the following article:\n{1}", [currentUser.getDisplayName(), s]); gr.work_notes = content; gr.update(); } } })(current, previous); 4.Save the business rule. To add work notes for the Useful or Flagged actions, apply the same logic to the kb_feedback table when the Useful or Flagged field changes. To see how the system adds these activity entries, open the sys_ws_operation record with the sys_id 8f7dcc87b33203002bf182c136a8dc90. This record contains the logic that adds the entries. The record URL follows this format: https://.service-now.com/nav_to.do?uri=sys_ws_operation.do?sys_id=8f7dcc87b33203002bf182c136a8dc90