How to set Import Set Row in a warning log ?

Hamza Berouil
Kilo Contributor

Hi all,

In an 'Onbefore' transform script, we log warnings and it works fine except that the Import Set Row is empty, we are expecting to find there reference to the Import Set on which the transform script ran.

find_real_file.png

 

The transform script is used to ignore inserting rows in CMDB tables :

 

find_real_file.png

So we want to have access to the row which have been ignored from the log.

Any idea to set this field?

Thank you

 

1 ACCEPTED SOLUTION

sachin_namjoshi
Kilo Patron
Kilo Patron

This log is available OOB in transform history which has row numbers

 

find_real_file.png

 

Regards,

Sachin

View solution in original post

2 REPLIES 2

sachin_namjoshi
Kilo Patron
Kilo Patron

This log is available OOB in transform history which has row numbers

 

find_real_file.png

 

Regards,

Sachin

Hamza Berouil
Kilo Contributor

Thank you @sachin.namjoshi  it's a great idea !! I forgot about the state in the Import Set ROw table. You rock !!!

Actually, that's even better because I can now report directly in the Import Set Row table.

To complete the solution, I added an override of the field Comments as follow : 

find_real_file.png