Service Operations Workspace - How to move a related list from "Related Records" tab?
New article articles in ServiceNow Community
·
Apr 09, 2025
·
article
In this article, we will see how to move a related list from the "Related Records" tab for a change record.
Note: The process remains the same for other record types. Kindly check the application scope.
➡️ Navigate to Script Includes [sys_script_include] and search for "SOWChangeRouteUtil" record.
➡️ Modify the function "getRelatedListConfig" to display the related lists on the main tab rather under "Related Records" tab.
Note: By default, in change record the "Change Tasks" is visible on the main header.
getRelatedListConfig: function(table, sysId) { var excludeLists = ["change_task.change_request","sysapproval_approver.sysapproval"]; var relatedRecordTab = this.RELATED_RECORD_TAB; relatedRecordTab["exclusionList"] = excludeLists; var result = [{ "label": gs.getMessage("Approvers"), "id": "sow_approvals", "exclusionList": null, "inclusionList": ["sysapproval_approver.sysapproval"] //Related lists to show on the tab }]; result.push(relatedRecordTab); return result; },
➡️ Navigate to "Scripted Extension Points" and search for the API Name "sn_sow_record.SOWRouteUtil".
➡️ Navigate to the "Implementations" related list and check if the record already exists. If not, open the "Extension Instances" in a new window, create a record and save it.
Results:
➡️ Now navigate back to the Change record and check if the "Approvers" tab is displayed on the main screen.
The related list is removed from the "Related Records" tab,
Kindly hit "Helpful" if it was helpful for your needs!!!!
ServiceNow #ServiceOperationsWorkspace #ServiceNowCommunity #HappyLearning
https://www.servicenow.com/community/service-operations-workspace/service-operations-workspace-how-to-move-a-related-list-from/ta-p/3232826