- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2025 11:59 PM
Hi Everyone,
Is it possible to create a module where in the list view will contain 2 joint tables just like a report with a database view as a source?
Has anyone successfully tried this? I can see that in creating a module, Only tables are available and database view are not.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 12:16 AM
You can use the link type list of type "List of Records". Just use the database view name as a table name shown below.
In the below case- Request Approver is a database view name.
https://www.servicenow.com/community/developer-forum/database-view-as-module/m-p/1636216
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 01:02 AM
Is the DB View created in the Global scope? Could you check if the module you are creating is within the same scope as your DB View?
If you found this helpful, please hit the thumbs-up button and mark as correct. That helps others find their solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 12:53 AM
Yes, you can create a module in ServiceNow where the list view displays data from two joined tables using a Database View. However, by default, database views are not available in the "Link to List View" option while creating a module.
✔️ If this solves your issue, please mark it as Correct.
✔️ If you found it helpful, please mark it as Helpful.
—
Shubham Jain