IntegrationHub ETL - is it possible to add multiple attributes for classes in more automated way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 04:53 AM
Hello Friends,
I just finished the course on NowLearning - "Use IntegrationHub ETL to Import Data"
1. When we are clicking on edit mapping we have to manually assign each attribute - which is fine, but we cannot copy the assigned attributes from one class to another. We have to do it one class each or am I missing something?
Is there no option to just copy the assigned attributes from one class to another?
2. And my final question is -
a) Is it possible to create multiple attributes for the class - i.e. by importing the excel file with their settings?
b) Is it possible to inherit attributes from one class to the others?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 05:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 07:40 AM
jgates
Thank you for the fast response.
1) Instead of having 3 different mappings (1 for computer, 1 for Linux Server, and 1 for Windows Server), you can do 1 mapping to computer (the common parent class)
Ok, This sounds good.
and a transformed attribute to the Class (sys_class_name) attribute.
In this situation you could have a script transform that takes the u_operating_system_name as an input and then does conditinals to set the output to cmdb_ci_linux_server, cmdb_ci_win_server, etc).
I am not sure what do you mean and where to set it up I afraid. Do you mean IntegrationHub ETL>Preview and Prepare Data> New Transform > Transform type: Script Operation?
2. Creating attributes for one parent class in CI Manager manually is great and works fine, attributes are inherited as well.
3. I was trying to set up the import to System Definition>Dictionary, but unsuccesfully.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2022 08:12 AM
1) Yes, you are on the right track there. You need your input column to be the operating system though. Once you have the input and output columns setup you can write you script to set the output[i] to whatever class name you want.