- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2020 10:39 AM
I created a database view and I want to use it in a reference type variable within my catalog item. However, when I test the variable it does not list anything.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2020 10:51 AM
Are you saying you want to create a variable of type reference on catalog which refers the database view table?
You can achieve this by selecting the reference table as the database view table.
Just ensure you have the proper READ ACL on that database view table
- Type Access Control in the navigation filter.
- Select the Access Control (ACL) module.
- Select the New action at the top of the list.
- Under Operation, select Read, and under Name, select the name of the database view i.e. Incident SLA
- Add the required roles needed to access the database view and click Submit.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2020 07:43 AM
Creating a read ACL did not work for me, the records in the variable field are displaying a list of records but those do not have any label and on randomly selecting a record, the sys_id gets displayed in the field. I need to show the user name from user table in my case. I have created a database view of sys_user table to display a list of inactive users. Please let me know if I am missing on any step