Problem Description
The NetBrain app in ServiceNow App store is compatible for 3 types of tables under the Global scope:
- incident
- change_request
- problem.
By default, NetBrain maps are only appended to these default tables. If user has requests to extend NetBrain Trigger result to other tables, then it's possible to edit/clone the backend configurations of these default tables to other tables.
Resolution
Once the ServiceNow app is configured, configurations are added to the following modules in ServiceNow.
- Business Rules (under System Definition)
- Formatters (under System UI)
- Client Scripts (under System Definition)
- Application Cross-Scope Access (under System Applications)
1. Updating the Business Rule
- In ServiceNow, navigate to System Definition --> Business Rules
- Search "nb" in Name field
- Click on NB Rule checker For Incident

- Switch application scope to NetBrain
- Change the Table field from Incident [incident] to any target table that need to extend NetBrain Trigger result, in this example, we change it to IT Incident [x_it_incident]
- Click Update button to save the change
- Search in Name field for Modify
- Click on Modify Checker For Incident

- Switch application scope to NetBrain
- Change the Table field from Incident [incident] to any target table that need to extend NetBrain Trigger result, in this example, we change it to IT Incident [x_it_incident]
- Click Update button
2. Updating the Formatters
- In ServiceNow, navigate to System UI --> Formatters
- Search "Trigger" in Name field
- Open TriggerResultFormatterForIncident

- Switch application scope to NetBrain
- Change Table field from Incident [incident] to IT Incident [x_it_incident]
- Click Update button to save the change
3. Updating Application Cross-Scope Access
- In ServiceNow, navigate to System Applications --> Application Cross-Scope Access
- Click New button to create new privilege from NetBrain source scope to IT target scope with target name " x_it_incident ' to allow CREATE/DELETE/WRITE/READ operations
4. Changing the Default View of x_it_incident table
- Open Form Layout of the table
- Select Default View in View Name
- In Section, click New... to create a new section
- Find TriggerResultFormatter For Incident from Available and push it to Selected
- Click Save to save the Form Layout