Adding a closed Incident to a problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2022 01:10 AM
Hi,
I'm not able to remove the predefined filter "active = true" on the ui page where you add incidents to a problem record.
I doesn't seem to be an ACL-thing, because I can add closed Incidents to a problem record using the Edit button on the same related list.
I've also tried to update the script include BulkAddIncidents (as propsed in another thread on this topic) without it working:
getFixedQuery: function(parentTable, parentColumn) {
var eps = new GlideScriptedExtensionPoint().getExtensions("BulkAddIncidentsFilter");
for (var i = 0; i < eps.length; i++) {
var query = eps[i].getFixedQuery(parentTable, parentColumn);
if (typeof query === "undefined")
continue;
return query;
}
// return "active=true^" + parentColumn + "ISEMPTY";
return parentColumn + "ISEMPTY";
},
Anyone know how to fix this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2022 03:54 AM
it's out of the box platform behavior
check this
Not able to link Inactive Incidents(Closed) to Problem record
How can ITIL user(s) add 'Closed' Incidents to a Problem Record?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2022 06:58 AM
Hi Ankur,
Yes I am aware that this is OOB behavior. ..and neither of those links answers my issue as my issue doesn't seem to be ACL-related - but rather related to that particular UI page.