How does Most recent discovery field gets populated on CI records.

gana1
Tera Expert

Hi All,

We have an integration with a third party inventory tool to populate SAM data [Computer, Software, Software Usage]. For computer data, we have a transform map to pull the records to push to the target table. With the transform map, we are also using CI identifier rule [Calling the reconcillation from onbefore script] to analyse the data. CI identifier rule decides whether to insert a new CI or update the existing one.On the transform map we have a mapping to map the field Most recent discovery [last_discovered]. Irrespective of the data that is coming to the source field, the system sets the last_discovered field to the current date and time. I searched a lot on the community to get the information exactly which script sets this field. Couldn't get any proper info. 

Does anybody know which sets the field "last_discovered" on target table.

Thanks

Ganapati

1 REPLY 1

Prasanth Alapat
Tera Contributor

Ideally, This field will be set by the sensor scripts during exploration phase after all the necessary fields which were found are updated in the database.

 

I found these scripts includes which will be called by sensor scripts in PDI.

 

find_real_file.png