Skip to content

Conversation

@romannyschuk-a11y
Copy link
Contributor

  • Add how to verify that the discovery source of “Device42” was created.
  • Add how to create the relationship so that we can use IRE to create database CIs. This would only be needed if the app doesn’t automatically create the relationship.
  • Add that scheduled imports have a default schedule that the customer can modify to meet their needs.
  • ServiceNow only supports the three most recent releases. Remove sections for “Version 2.0.1 (or previous).”
    Consider adding a note that Servicenow only supports the three most recent releases to forestall questions to Support.

- Add how to verify that the discovery source of “Device42” was created.
- Add how to create the relationship so that we can use IRE to create database CIs.  This would only be needed if the app doesn’t automatically create the relationship.
- Add that scheduled imports have a default schedule that the customer can modify to meet their needs.
- ServiceNow only supports the three most recent releases. Remove sections for “Version 2.0.1 (or previous).”
  Consider adding a note that Servicenow only supports the three most recent releases to forestall questions to Support.
![ServiceNow search bar](/assets/images/device42-servicenow-connector/search-plugin-snow.png)

2. Add **Device42** to the data source choice list. Navigate to **System Definition > Scripts – Background** (search for it under **All**) and paste in the following script. Leave **in scope** as **global.
2. Add **Device42** to the data source choice list. Navigate to **System Definition > Scripts – Background** (search for it under **All**) and paste in the following script. Leave **in scope** as **global**.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should come after verifying the discovery source and only needs to be run if it does not exist.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This paragraph replaced with 2.

if (gr.hasNext()) {
gs.info('Device42 found');
} else {
gs.info('Device42 did not find');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to 'Device42 not found'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed.

:::caution
The following information is accurate for the Washington DC and Vancouver versions of ServiceNow and may not work completely as expected for Xanadu. The approach laid out below is still relevant, but some details may differ.
The following information is accurate for the recent versions of ServiceNow. The approach laid out below is still relevant, but some details may differ.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove The approach laid out below is still relevant, but some details may differ..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

![](/assets/images/SN_Store_Download_4.png)

These can be scheduled to run at certain times and should be run in the highlighted order: Devices, IPs, Services, Software Details (version 2.0.1), and Software Instances. You can click on an individual schedule to edit it or to **Execute Now**.
These can be scheduled to run at certain times and should be run in the highlighted order: Devices, IPs, Services, and Software Instances. You can click on an individual schedule to change running order , period and time. And then you can **Execute Now**.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the new items that we added.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Affinity Group, Application Components, Business Applications, Database, Database to Instances, D42-Web-Sites, Web Site, Devices, IPs, Services, and Software Instances

Please note that all records will appear to be ignored in versions 3+, because we use the Identification and Reconciliation Engine (IRE).
**Direct Connection (3.0.0+ Only)**
Direct Connection

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are other places that reference 3.0.0 that need to be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed all.


![](/assets/images/Web-780_running-script-last-pic.png)

## Adding the Relationship

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check if the relationship exists and if it does not add it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I replaced sentence with one above

if (gr.hasNext()) {
gs.info('Device42 found');
} else {
gs.info('Device42 did not find');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will need to update the screenshot too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/assets/images/device42-servicenow-connector/the-script-find.png

- Username: You may use any value here, but it is required.
- Password : `${x_192652_device42.instance_key}`
Please note that all records will appear to be ignored in versions 3+, because we use the Identification and Reconciliation Engine (IRE).
Copy link

@cscaglioned42 cscaglioned42 Nov 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove in versions 3+,.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All removed.

if (gr.hasNext()) {
gs.info('Device42 found');
} else {
gs.info('Device42 not find');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change "find" to "found" and update the screenshot too.

The scheduled imports first run the respective data source to collect and store data in the import set tables for a given data source. After this data has been imported into this table a transform script is run to map the data into ServiceNow's internal tables. Version 3.0.0+ of the ServiceNow integration plugin leverages ServiceNow's IRE module. For more information on this feature, please visit ServiceNow's documentation page:
The scheduled imports first run the respective data source to collect and store data in the import set tables for a given data source. After this data has been imported into this table a transform script is run to map the data into ServiceNow's internal tables. ServiceNow integration plugin leverages ServiceNow's IRE module. For more information on this feature, please visit ServiceNow's documentation page:

[https://docs.servicenow.com/bundle/utah-servicenow-platform/page/product/configuration-management/concept/c_CMDBIdentifyandReconcile.html](https://docs.servicenow.com/bundle/utah-servicenow-platform/page/product/configuration-management/concept/c_CMDBIdentifyandReconcile.html)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

![](/assets/images/SN_Store_Download_5.png)

The scheduled imports first run the respective data source to collect and store data in the import set tables for a given data source. After this data has been imported into this table a transform script is run to map the data into ServiceNow's internal tables. Version 3.0.0+ of the ServiceNow integration plugin leverages ServiceNow's IRE module. For more information on this feature, please visit ServiceNow's documentation page:
The scheduled imports first run the respective data source to collect and store data in the import set tables for a given data source. After this data has been imported into this table a transform script is run to map the data into ServiceNow's internal tables. ServiceNow integration plugin leverages ServiceNow's IRE module. For more information on this feature, please visit ServiceNow's documentation page:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add "The" before "ServiceNow integration plugin leverages...".

![](/assets/images/SN_Store_Download_4.png)

These can be scheduled to run at certain times and should be run in the highlighted order: Devices, IPs, Services, Software Details (version 2.0.1), and Software Instances. You can click on an individual schedule to edit it or to **Execute Now**.
These can be scheduled to run at certain times and should be run in the highlighted order: Affinity Group, Application Components, Business Applications, Database, Database to Instances, D42-Web-Sites, Web Site, Devices, IPs, Services, and Software Instances. You can click on an individual schedule to change running order , period and time. And then you can **Execute Now**.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace this paragraph with:
The Device scheduled job is set to run at a default time which can be modified if needed. The Device scheduled job will automatically trigger the next scheduled job to run, which will then trigger the next scheduled job, and so on until all of the scheduled jobs are run. The order the scheduled jobs will run is: Device, IP, Software, Service, Affinity Group, Application Component, Business Application, Database, Database Instance, Database to Instance, Website. You can click on the Device scheduled job to change period and time. And then you can **Execute Now**.

@zaneD42
Copy link
Collaborator

zaneD42 commented Nov 17, 2025

Approved

@zaneD42
Copy link
Collaborator

zaneD42 commented Nov 21, 2025

@Nadia-JSch Can you get this one through. Thanks.

@sixhobbits sixhobbits merged commit 88186a0 into device42:main Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants