- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2025 03:52 AM
I'm trying to add a condition to the data resource of the Problems related list component on the Change Request record page in Service Operations Workspace (SOW) using UI Builder. The condition should be 'Assignment group is (dynamic) One of My Groups AND Active = true'.
Is this feasible in UI Builder? If so, what steps should I follow to configure this condition?
Any guidance or examples would be appreciated."
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2025 04:09 AM
Hi,
Navigate to System definition -> Script includes
Update the script include "ChangeRequestRelatedListProblemItemFilter"
var ChangeRequestRelatedListProblemItemFilter = Class.create();
ChangeRequestRelatedListProblemItemFilter.prototype = {
getFilterQuery: function(tableName, parentFieldName, parentRecordSysId, referencedFieldName) {
return "active=true^rfcISEMPTY^assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744"; //assignment group is one of my groups
},
handles: function(extensionPointKey){
return extensionPointKey == "CHANGE_REQUEST_PROBLEM_RELATED_QUERY_FILTER";
},
type: 'ChangeRequestRelatedListProblemItemFilter'
};
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2025 04:09 AM
Hi,
Navigate to System definition -> Script includes
Update the script include "ChangeRequestRelatedListProblemItemFilter"
var ChangeRequestRelatedListProblemItemFilter = Class.create();
ChangeRequestRelatedListProblemItemFilter.prototype = {
getFilterQuery: function(tableName, parentFieldName, parentRecordSysId, referencedFieldName) {
return "active=true^rfcISEMPTY^assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744"; //assignment group is one of my groups
},
handles: function(extensionPointKey){
return extensionPointKey == "CHANGE_REQUEST_PROBLEM_RELATED_QUERY_FILTER";
},
type: 'ChangeRequestRelatedListProblemItemFilter'
};