- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2019 08:55 AM
Hi Experts,
3rd party has to fetch records from incident table and we don't want to expose whole incident table with all the records and columns. So idea is to expose database view of incident table with limited records and fields.
The issue is I am not able to filter the records in database view on a single table. Could you please help? "Where" query is not working.
Regards
Ramandeep
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2019 09:26 AM
Hello,
You need to have 2 tables for database view, once done, you can set filter as shown in screenshot below
Then run the view and you should see the desired results, please see below screenshot which shows only 1 record as per filter applied on number field above
Please mark reply as correct / helpful if it answers your question

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2019 09:10 AM
Are you using REST to fetch these INC records? If so and you're querying the INC table, you can add query filters to get the records you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2019 09:26 AM
Hello,
You need to have 2 tables for database view, once done, you can set filter as shown in screenshot below
Then run the view and you should see the desired results, please see below screenshot which shows only 1 record as per filter applied on number field above
Please mark reply as correct / helpful if it answers your question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2019 12:41 AM
Deepak is correct and it fixes the issue.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2019 03:53 PM
you can create a custom table that is a child of the incident table and write a business rule that copies record from the incident to this new table that satisfies your condition.