The Now Platform® Washington DC release is live. Watch now!

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SCCM and ServiceNow

nataliya_b
Giga Guru

Hello All

Our SCCM got updated to 1906, that made our ServiceNow Remove Software import stopped working (plugin SCCM 2012 v2 activated)

This SQL query does not bring any records. 

SELECT * FROM

(SELECT

MachineID as ResourceID,
InstanceKey + 32000000 as GroupID,
DelDate

FROM SCCM_Ext.Add_Remove_Programs_DATA_DD

UNION

SELECT
MachineID as ResourceID,
InstanceKey +64000000 as GroupID,
DelDate

FROM SCCM_Ext.Add_Remove_Programs_64_DATA_DD)t

 

We tried to use following query, but data validation results are not consistent. 

SELECT * FROM

(SELECT

MachineID as ResourceID,
InstanceKey + 32000000 as GroupID,
TimeKey as DelDate

FROM dbo.Add_Remove_Programs_DATA

UNION

SELECT
MachineID as ResourceID,
InstanceKey +64000000 as GroupID,
TimeKey as DelDate

FROM dbo.Add_Remove_Programs_64_DATA)t

 

Does anyone have similar issue? Are we using correct tables in new query? 

Please help.

1 ACCEPTED SOLUTION

nataliya_b
Giga Guru

 

Just would like to give the summary for this, in case anyone would have the issue in the future


If your SCCM gets upgraded to 1906 and your ServiceNow stops getting removed software records - possible cause - deactivated triggers (due to upgrade) in SCCM db.
These triggers shall be activated and running
tr_Add_Remove_Programs_DATA_DD,  tr_Add_Remove_Programs_DATA_64_DD

for ServiceNow to receive removed software records.


The ServiceNow SCCM set up remains the same, no changes.

View solution in original post

21 REPLIES 21

Mark Lanning
Mega Guru

Had the same issue

I had to update the Data Sources on SCCM Integration for SCCM 2016 Software (Al).

Time Format was incorrect.

I have updated the TimeStamp on the Data Source from '2019-05-17 19:16:58.000 +00:00' to '2019-05-17 19:16:58.000' and that fixed my Issue

Mark

thank you Mark,what about SQL query, did you do any changes to it?

Mark Lanning
Mega Guru

No I just had to change the Time Stamp

thank you Mark

Tried to change TimeStamp, did not help, still receiving "0" records 😞