How to add a fixed query for Add button on 'task_cmdb_ci_service' table and only for incident table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi All,
I have a requirement to add a query - 'ref_cmdb_ci_service_auto.service_classification=Application Service^ref_cmdb_ci_service_auto.busines_criticality=1^operational_status=1' on Add button on impacted services related list of incident table.
The above query must not be implemented to any other table.
Please help me with step by step implementation, since I am very new with SOW.
Regards,
AG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
this link has solution, check and enhance so that it impacts only when that is shown on INC form
Apply Filter to ADD Button on Impacted Services/CI RelatedList
💡 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 || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Will this solution apply for SOW? I do not want query to applied in native UI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
in the _getURL() method I added this code highlighted so that the query only works for INC
💡 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 || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
@Ankur Bawiskar : Many thanks for your quick response.
I edited the script include but same query is not applying in Service Operations Workspace, when you try to add any impacted services in any existing incident.
Any insights on it. Does the above code works for you in SOW?