- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
04-09-2025 05:23 AM - edited 04-09-2025 06:30 AM
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
- 708 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Very helpful article, thanks for sharing @Sujatha V M
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
@Rampriya-S Thank you for the consistent support from your end 🙂
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Great guide! The step-by-step instructions for customizing tabs in Service Operations Workspace are clear and practical. @Sujatha V M info
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
@computers Glad to know it had helped you! Thank you 😊
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Very useful!!