Transitioning to IRE in Transform Maps: Missing CI Class for updates & ID Rule inheritance questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
9 hours ago
Hi everyone,
I'm working on an integration where users upload three types of Excel files via a Catalog Item:
Asset Updates
CI Updates
CI & Asset Creation (a heavy file with relationship definitions)
Initially, I used legacy coalesce in Transform Maps for the updates. However, the requirement has shifted to using the Identification and Reconciliation Engine (IRE) for the CMDB side. I'm keeping the legacy coalesce for the Asset Update Excel (since IRE doesn't support Assets directly), but I'm updating the CI process.
For the CI Update, I am building a JSON payload in an onBefore script and passing it to SNC.IdentificationEngineScriptableApi.createOrUpdateCI(). For the CI & Asset Creation, I'm pushing the data through IRE to create the CIs, letting the OOTB Business Rules handle the corresponding Asset creation.
I've hit two roadblocks and would love some advice:
1. Missing sys_class_name in the CI Update Excel: The CI Update spreadsheet doesn't contain a class name or a model field. Since IRE strictly requires the CI Class to know which Identification Rule to trigger, how can I successfully pass this payload? What is the best practice for determining the class dynamically during the update?
2. Scaling Identification Rules for CI Creation: For the CI Creation process, the Excel file contains data for many different types of CIs. If the payload is creating CIs across hundreds or thousands of different classes, do I need to manually configure an Identification Rule for every single one of those classes? Or is there a more efficient way to handle this?
Thanks in advance for any insights!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
It's great to hear you're moving away from coalesce to IRE - it offers so much more security. As you've stated, though, there are some prerequisites!
Not exactly an answer to the two points above, but your comment about multiple classes and "nested payloads" would lead me toward a Robust Transform Engine (RTE) Transformer. That's documented here:
Hope that helps!
Sam