Adam_on_Now
ServiceNow Employee
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
06-16-2025
04:46 PM
When configuring the Feedback Definitions, one current limitation is being able to define what assignment group to assign the Feedbask to depending on which page the user is on when using the "Provide Feedback" capability. The information is there to do the proper routing, but it's a little obscure. Hopefully if you're trying to do this same thing, this will help!!
One way to auto-route the feedback tasks by topics would be by setting up an Assignment Rule on the sn_ex_sp_pro_feedback_task table.
System Policy > Rules > Assignment
Script Example:
if (current.assessment_response.instance.sn_ex_sp_pro_portal_page_params.includes('"topic_id":"ad302d67c3303010069aec4b7d40dde5"')) //sys_id is for the topc that you care about.
{
current.assignment_group.setValue("287ee6fea9fe198100ada7950d0b1b73"); // 287ee6fea9fe198100ada7950d0b1b73 = Database Group
}
This Assignment Rule only runs if the Feedback Task is un-assigned, so just make sure you don't assign it in the feedback definition and the assignment rule should trigger.
The key thing is the dot-walking of current.assessment_response.instance.sn_ex_sp_pro_portal_page_params and checking to see if the params include the specific topic_id that you're looking for. You can of course use this approach for more than just topic pages, so modify the Assignment Rule Script and conditions as needed!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.