Sujatha V M
Kilo Patron
Kilo Patron

In this article, we will see how to move a related list from the "Related Records" tab for a change record. 

 

SujathaVM_0-1744190881458.png

 

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. 

 

SujathaVM_2-1744193499684.png

 

➡️ 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". 

 

SujathaVM_3-1744193842893.png

➡️ 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. 

 

SujathaVM_0-1744196665469.png

SujathaVM_1-1744196743302.png

 

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, 

 

SujathaVM_2-1744196899115.png

 

 

SujathaVM_3-1744196971796.png

Kindly hit "Helpful" if it was helpful for your needs!!!!

 

#ServiceNow #ServiceOperationsWorkspace #ServiceNowCommunity #HappyLearning

Comments
Rampriya-S
Tera Guru
Tera Guru

Very helpful article, thanks for sharing @Sujatha V M 

Sujatha V M
Kilo Patron
Kilo Patron

@Rampriya-S  Thank you for the consistent support from your end 🙂

computers
Giga Explorer

Great guide! The step-by-step instructions for customizing tabs in Service Operations Workspace are clear and practical. @Sujatha V M  info 

Sujatha V M
Kilo Patron
Kilo Patron

@computers  Glad to know it had helped you! Thank you 😊

Ashwin perumal
Tera Contributor

Very useful!!

Version history
Last update:
‎04-09-2025 06:30 AM
Updated by:
Contributors