Trouble transform mapping assets to Printer [cmdb_ci_printer]

franktr
Kilo Contributor

Hi

I am trying to update the table Printer [cmdb_ci_printer] via a Data Source and then running a Transform Map on those.

I can read in the data to the imp-table just fine, but when I try to transform it to the printer table it does not add anything to it.

The import log looks like this:

import_log.png

My field mapping in the transform map looks like this and you can see that I coalesce on the asset_tag field. I don't run any scripts or something like that and all the other settings is default.

(The source field for asset is called u_serialnr_customer, but it is actually the asset tag. Don't ask me why.)

field_maps.png

Is there any special requirements that you need to have to add to the Printer [cmdb_ci_printer] table?

I've done something similar earlier on the same system with some POS terminals that we needed to add, but then I created my own destination table which I extendend from the Configuration Item-table.

1 ACCEPTED SOLUTION

Hi Frank,



As I said before using "Test load 20 Records" will not actually insert anything in the target table. I've done a quick test on my own instance and here are the results:



1. Using "Test load 20 records":



Screen Shot 2016-01-22 at 9.05.41 AM.JPG



2. Using "Load all records":



Screen Shot 2016-01-22 at 9.06.25 AM.JPG



You can see in second case I have "Ignored" = 20 as I already loaded the rows previously.



So, can you try "Load all records" rather than "Test load 20 records"?



Regards,


Sergiu


View solution in original post

17 REPLIES 17

You can use several fields as coalesce. They would be taken into account as a pair.



Regards,


Sergiu


Hi Alex



Yes, I noticed that myself so I removed the coalesce on serial_number and just have it on asset_tag, but made no difference.


Hi All,



I am also facing the same problem. can any one help on this


What exact problem do you experience?



Regards,


Sergiu


As i am trying to upload data form the sftp server   before using "Test load 20 Records" will not actually insert anything in the target table. but if i reprocessed the same import set than it is uploading the 20 records in to the target table. please provide us the solution for this issue.