---
sourceDocument: Australia Employee Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/de-DE/employee-service-management

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Add a data broker script

# Add a data broker server script for the Playbook tab {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Configure a data broker server script that connects the UI Builder component to the script include method controlling the Playbook tab visibility.

## Vorbereitungen

Role required: admin

## Prozedur

1. Navigate to the All menu and enter <kbd class="ph userinput">sys_ux_data_broker_transform.list</kbd>.  
   The Data Broker Server Scripts table appears.
2. Select New.  
   The Data Broker Server Script form opens.Abbildung : 1. Data Broker Server Script form
3. In the Name field, enter the name for your configuration.
4. In the Application field, select the appropriate application scope for your implementation.
5. In the Description field, enter a description.  
   For example, <kbd class="ph userinput">Whether to show or hide the Playbook tab on the Legal Counsel Center</kbd>
6. In the Properties field, add the following JSON configuration:  

       [{
                               "name": "table",
                               "label": "Table",
                               "fieldType": "string",
                               "mandatory": true
                               },
                               {
                               "name": "sysId",
                               "label": "Sys ID",
                               "fieldType": "string",
                               "mandatory": true
                               }]

7. In the Script field, add the script for the data broker.  
   Example:

       function transform(input) {
                               var table = input.table;
                               var sysId = input.sysId;
                               if (!table || !sysId) return true;
                               
                               return sn_lg_cf_workspace.LegalUIBWorkspaceDataBrokerHelper.hidePlaybookTab(table, sysId);
                               }

   This function receives the table and sysId from the input, validates them, and calls the helper method to determine tab visibility.
8. Select Update to save the data broker server script.

