Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Service Graph connector for microsoft intune application

AnubhootiJ
Tera Contributor

Hi,
working in the Service Graph connector for Microsoft Intune application with custom data source and custom data stream pulling Intune data into import set and tried for IRE below is the screenshot, rows are inserted into computer table but with null data

AnubhootiJ_0-1776482109964.png

 


and getting error also: on transform History
org.mozilla.javascript.JavaScriptException: java.lang.NullPointerException: Cannot invoke "com.snc.cmdb.identify_reconcile.APIPayload.updatePayload()" because "this.fInput" is null

 

 

Please suggest the solution!!

3 REPLIES 3

fabiodebias
Tera Contributor

Hello friend!

 

How are you?

 

How did you solved that issue? Working on the same case scenario, and having same issue...

 

Thanks!

JohnnieGross
Tera Expert

I had the same issue - and for me it turned out to be the function involved.  

Instead of using SNC.IdentificationEngineScriptableApi.identifyCI(discoverySource, jsonPayload),  I used the following scope based function and the simulation I was running worked as expected with no errors:

 

Notice that the function parameters are entered in a reverse order than the SNC one.

sn_cmdb.IdentificationEngine.IdentifyCI(jsonPayload, discoverySource)

 

Hope this works for you!

John

 

I'm sorry, I did not complete my reply.  I was wondering if the parameters of the function need to be switched from what I see in your screenshot with the discovery source as the second parameter?