INSERT_AS_INCOMPLETE: IRE ERROR

rahulyamgar
Tera Guru

Hello friends,

 

We  are getting an INSERT_AS_INCOMPLETE error on running the 

SNC.IdentificationEngineScriptableApi.createOrUpdateCIEnhanced APIs from the scoped application Transform Map OnBefore script, when this API is called from Background script/Fix script using the same scope, it does not throw any error rather it returns NO_CHANGE which is correct. Same payload when input to Identification Simulation, it just works fine. 
 
Any idea on this would be highly appreciated.
 
Thanks,
Rahul

 

3 REPLIES 3

Kieran Anson
Kilo Patron

Hi Rahul,

I would recommend enabling debug, and comparing the differences

How to capture IRE [identification and reconciliation engine] debug logs. - Support and Troubleshoot...

Hello Kieran,

 

I did the debug and comparison. Payload looked the same and it just worked fine in background script, fix script. But only when we call it from transform map, it shows INSERT_AS_INCOMPLETE. There is a recursive business rule on cmdb_ci table which is the most probable root cause of the issue. Disabling this does not show any error. I am checking further into this. Will keep you posted.

 

Thanks,
Rahul

AJ-TechTrek
Giga Sage
Giga Sage

Hi @rahulyamgar ,

 

Refer the below Docs, which may help you.

 

https://www.servicenow.com/community/developer-forum/ire-best-way-to-replace-transform-map-field-scr...

 

https://docs.servicenow.com/bundle/washingtondc-api-reference/page/app-store/dev_portal/API_referenc...

 

https://www.servicenow.com/community/developer-forum/onbefore-transform-script-for-cmdb-identificati...

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thanks

AJ

Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/

ServiceNow Community Rising Star 2024