- 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
07-30-2020 10:49 AM
Hi Leonardo,
Ideally it should work. I guess since its a database view that is created you will have to get ACL set up as well of type: read.
For admins it should work without ACL. Tested the same in my PDI & it works.
- 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
07-30-2020 11:34 AM
Unsure if comments from my end stated something else but it seems there is a definite need to use your method of '@' mention feature so as to get author's attention directly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2020 11:42 AM
I'm actually a beginner in servicenow, I don't know what an ACL would be. I was able to consume more information from the other comment. But yours was also useful to me! Thnks