An administrator is troubleshooting an integration where an incoming JSON payload contains relationships between servers and IP addresses. The server is created successfully, but the relationship record in `cmdb_rel_ci` is missing. Upon checking the IRE execution log, the system indicates that the relationship type string was invalid. How should this be resolved?
Trap 1: Disable relationship validation in CMDB properties.
Disabling relationship validation removes the check that rejected the invalid type string, so the payload still cannot resolve to a valid relationship type and no cmdb_rel_ci record is created. It is tempting because validation appears to be the blocker, and it would be correct only if the incoming type strings were already valid.
Trap 2: Create a Transform Map to map relationship types.
A Transform Map maps incoming payload fields to target table columns during import; it does not translate an invalid relationship type string into a valid one for IRE. It is tempting because transform maps handle inbound data shaping, so it would be correct if the failure were field-level mapping rather than relationship type resolution.
Trap 3: Modify the cmdb_rel_ci table dictionary to allow free-text…
Allowing free-text relationship types in the cmdb_rel_ci dictionary bypasses the relationship type model, so IRE still cannot match the string to a defined type and the record is not created. It is tempting because it appears to relax the constraint, and it would be correct only if custom types were genuinely required.
- A
Disable relationship validation in CMDB properties.
Why it fails: Disabling relationship validation removes the check that rejected the invalid type string, so the payload still cannot resolve to a valid relationship type and no cmdb_rel_ci record is created. It is tempting because validation appears to be the blocker, and it would be correct only if the incoming type strings were already valid.
- B
Ensure the relationship type specified in the payload matches an active parent/child relationship name defined in the `cmdb_rel_type` table.
The IRE resolves relationships by matching the payload's type string against active entries in `cmdb_rel_type`. An invalid string means no match, so the relationship is skipped. Aligning the payload with an active parent/child relationship name lets IRE create the `cmdb_rel_ci` record.
- C
Create a Transform Map to map relationship types.
Why it fails: A Transform Map maps incoming payload fields to target table columns during import; it does not translate an invalid relationship type string into a valid one for IRE. It is tempting because transform maps handle inbound data shaping, so it would be correct if the failure were field-level mapping rather than relationship type resolution.
- D
Modify the cmdb_rel_ci table dictionary to allow free-text relationship types.
Why it fails: Allowing free-text relationship types in the cmdb_rel_ci dictionary bypasses the relationship type model, so IRE still cannot match the string to a defined type and the record is not created. It is tempting because it appears to relax the constraint, and it would be correct only if custom types were genuinely required.