Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Set up notification for KB Comments added

morrowc
Kilo Expert

I am looking to set up an email notification to be sent to the KB author when a user adds a comment to a published KB article.   How can I accomplish this?

1 ACCEPTED SOLUTION

1. Go to notifications and add table as "Knowledge Feedback"


find_real_file.png



2. Make filter conditions as "Comments is not empty"



3. In Who will receive tab, under "Users/Groups in fields" field add Article author:


find_real_file.pngfind_real_file.png



4. In "What will contain" section Add Subject as: "Comments added for Article : ${article.number}"



5. Add Body as:


Hi ${article.author},



Comments have been added for article: ${article.number}.



${comments}



Regards,


Admin


View solution in original post

8 REPLIES 8

Hi


Are you able to advise how to put a link to the Article in this Notification, i have everything else working but can't get a link to take the Author to the Article.


Jaspal Singh
Mega Patron
Mega Patron

Hi Chris,



You can create a notification on Knowledge feedback (kb_feedback) table which runs on insert & sends notification to Author of knowledge article.


find_real_file.png


ashep99
Mega Expert

Hi Chris,



It is a new plugin for Jakata, goto Knowledge management advance and enable this, you can then subscribe to the KB or mark it as a favourite.



thanks



Andrew


anurag92
Kilo Sage

You might need to add a Href in the notification by constructing the URL.



add a script to construct the url for the KB article as this:



var url = "kb_view.do?sys_kb_id="+current.sys_id;


url = String(url);


template.print("<a href ="+ url+">Open the article here</a>");