ETL RTE skip inserts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 06:46 AM - edited 01-23-2024 06:54 AM
Hi All,
We're using ETL RTE to import data into the CMDB, together with the relationships and CIs related to it.
Currently, ServiceNow is discovering some of the attributes for the class I'm trying to populate, then we're using RTE to fill in the blanks.
What we want is to prevent RTE from creating new records, but still update records that are in the CMDB.
We were able to do this in a normal transform map by using "if (action == 'insert') ignore = true;". But it seems there is no functionality like this for RTE.
Workarounds tried:
1.) onBefore script, created the condition for when we want the item to be skipped, then used
"input[i].status = 'SKIPPED';"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 06:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2024 01:20 PM
Hi Adrian,
I have a similar business need with mobile device data import to ServiceNow from Intune, where I want the import to update data only and not insert new data.
In order to achieve this, the setup is not done in the Robust Import Set Transformer, but in the IRE Data Source Rule.
When using Identification and Reconciliation Engine (IRE), you can prevent a specific discovery (data) source from inserting new CIs for a specific class. Create IRE data source rules for discovery sources that you don't trust in creating CIs but continue to trust in updating those CIs that exist.
In my case, the following setup allowed me to not create new data but update only, when importing from Intune using the Robust Import Set Transformer.