Pattern designer: union to $cmdb_serial_number has a prerequisite?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hello!
Creating a pattern to add a device into [cmdb_ci_network_controller], I try to insert the serial number I get from the device into the serial number table [cmdb_serial_number], to have a related list like servers or lan switches have.
For this I used Union Table Step:
- First table $cmdb_serial_number
- Second table $cmdb_serial_number_temp
- Target table $cmdb_serial_number
I debugged it and $cmdb_serial_number_temp is correctly populated, but after the union step $cmdb_serial_number has no data.
However if I try the same step on a different pattern but on a different target class [cmdb_ci_netgear], and it works. I am repeating the same steps among the two patterns so I am very confused for this behavior, also I can't find any log messages that gives me a clue.
Anyone can provide a hint on what would be the cause for this? Maybe it is related to the CI classes hierarchy?
[cmdb_serial_number] need to have any suggested relation to [cmdb_ci_network_controller] or any similar limitation to write to CMDB tables from within a pattern?
Thank you!