SCCM integration

khadija3
Tera Guru

Hello,

As part of SCCM integration, if a CI is deleted in SCCM  the related CI in servicenow is not desactived, is there any way to allow this without changing the transform maps ?

 

Thank you

1 ACCEPTED SOLUTION

Hello thank you for your reply I used a transform map that runs just after sccm transform maps and set the status to retired.

View solution in original post

3 REPLIES 3

DaveHertel
Kilo Sage
Kilo Sage

Hi khadija -

  Yes, the CI in the CMDB won't naturally be deleted/deactivated if it was originally imported/created via SCCM (or any other) integration source.  An approach I would pursue: 
A) the SCCM integration into SN should explicitly set to fields:
   - the Discovery Source to identify where it came from (such as "SCCM" or something meaningful). 
   - The Most recent discovery date field 
You could do this in transform maps... which will ensure you can tell what CI's in CMDB came from the external source and when they were last touched
B) Build a background script to run on a regular basis to evaluate the CMDB CI classes that you are focused on..  The script could use the 2 criteria fields (Discovery source and Most recent discovery) and then based on whatever timeframe is appropriate, do something with stale CI's that haven't been touched in X time period.  Something might be changing the status to Absent, i.e. changing it to "deactivated" to use your words...

Example of using these 2 CI fields. 
find_real_file.png

Does this help?  Hope so...

Hello thank you for your reply I used a transform map that runs just after sccm transform maps and set the status to retired.

Hello @khadija3 

We have the SCCM service graph connector and trying to achieve the same. Which transform map are you referring to? Are you able to share more details?

Thanks,
G