- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎12-12-2023 04:13 AM
I need the hyperlink of KB article to be added in the notification that triggers from 'kb_feedback_task' table.
Solved! Go to Solution.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎12-12-2023 04:43 AM
Hi @Admin7267
according to the page https://docs.servicenow.com/bundle/tokyo-servicenow-platform/page/administer/notification/concept/c_... you should be able to get the link when using
${feedback.article.URI_REF}
Maik
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎12-12-2023 08:01 AM
Are you using it in the kb_feedback_task notification?
You have to create an email script by System Notification > Email > Notification Email Scripts.
Email Script:
Then use this email script in the notification Message HTML field of kb_feedback_task table.
${mail_script:kb_article_link_from_kb_feedback_task}
KB Feedback Task Notification
After previewing the notification, we get,
In this way, it's working for me. Hope it helps and solves your problem. If it does solve your problem, kindly mark this as a solution so it may help others in the future.
Regards,
Hamza
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎12-12-2023 06:16 AM
Thanks for the help @Muhammad Hamza I tried the below script, but it's not working.
template.print("<a href='"+gs.getProperty('glide.servlet.uri')+ "kb_knowledge.do?sys_id="+current.feedback.article + "'>"+current.feedback.article.getDisplayValue()+"</a><br/>");
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎12-12-2023 08:01 AM
Are you using it in the kb_feedback_task notification?
You have to create an email script by System Notification > Email > Notification Email Scripts.
Email Script:
Then use this email script in the notification Message HTML field of kb_feedback_task table.
${mail_script:kb_article_link_from_kb_feedback_task}
KB Feedback Task Notification
After previewing the notification, we get,
In this way, it's working for me. Hope it helps and solves your problem. If it does solve your problem, kindly mark this as a solution so it may help others in the future.
Regards,
Hamza
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
‎12-12-2023 10:52 PM
Thank you so much @Muhammad Hamza , It was working as expected.
I see when I preview the notification Feedback task is selected that don't have article number for reference
