How to restrict metric type on metric result table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago - last edited 2 hours ago
I want to hide NPS Metric type from asmt_metric_table and make visible only to specific role so that survey viewer should only see all other metric results and not NPS metric type
Note: even in reporting they shouldn't access this NPS Metric type
1.If acl is solution which type of acl is preferable ?
2.What if we store these results in separate custom table ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Table.None READ ACL will be the preferable way with proper conditions etc
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @Balakrishna_ABK ,
Since you want to restrict access to a subset of records (only NPS metrics), use a record ACL on the metric table rather than a UI policy or module visibility.
Typically:
asmt_metric → Metric definitions
asmt_assessment_instance_question / result tables → Responses
Reporting reads underlying tables, so ACLs apply there as well.
Can create a Read ACL on the relevant table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago - last edited an hour ago
Try this :
- Create the Custom Role
- Navigate to User Administration > Roles > click New.
- Name the role (like nps_viewer).
- Click Submit.
2.Configure a Read ACL on the Metric
- Navigate to System Security > Access Control (ACL)>Click New.
- Operation: read
- Name: Select the Assessment Metric table.
- Condition: Set a condition to isolate the NPS metric (e.g., Metric type is NPS or Name is your NPS metric name).
- Roles: In the "Requires role" related list, add the specific role you just created (like nps_viewer) and any admin roles.
- Click Submit.
Note: Users without the nps_viewer role will no longer see the NPS metric when viewing surveys.
3.Configure a report_view ACL for Reporting
To prevent users from selecting the NPS metric in reports and dashboards, add a Report View ACL.
- Navigate to System Security > Access Control.
- Click New.
- Operation: report_view.
- Name: Select the Assessment Metric table.
- Roles: In the "Requires role" related list, add the nps_viewer role.
- Click Submit.
Note: This prevents unauthorized users from using the NPS metric as grouping or filtering criteria in their reports.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti