We are facing an issue when we integrate ITSM (ServiceNow) with CISCO Dnac.
Following steps are done.
1. Enable basic ITSM (ServiceNow) CMDB synchronisation bundle, and configure it.
2. Set Operational Limit and Source Identifier for ServiceNow
3. ServiceNow access settings
4. Event settings.General setting.
- Rest endpoint for publishing event
- ServiceNow access settings
- Set operational limit and source identifier for ServiceNow
6. 5. Inventory Sync Settings.
- Inventory Items per iteration.
- ServiceNow connection
When we schedule create inventory sync, its give an error on Dnac.
====================================================================================
{ "bapiErrorResponse" : { "bapiKey" : "3a96-a800-4c2b-a29c", "bapiName" : "Create Inventory List", "bapiErrorCode" : "", "bapiErrorMessage" : "" }, "componentErrorResponse" : [ { "compId" : "uuid1be04ad2", "compName" : "Invoke Publish Inventory List To ServiceNow", "compErrorCode" : "500", "compErrorMessage" : "{\n \"bapiErrorResponse\" : {\n \"bapiKey\" : \"b89f-a893-41ca-86fb\",\n \"bapiName\" : \"Publish Inventory List To ServiceNow\",\n \"bapiErrorCode\" : \"\",\n \"bapiErrorMessage\" : \"\"\n },\n \"componentErrorResponse\" : [ {\n \"compId\" : \"uuidcb414ede\",\n \"compName\" : \"process response\",\n \"compErrorCode\" : \"500\",\n \"compErrorMessage\" : \"JavascriptTransformProcessor Failed with error: SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found <\\n<!DOCTYPE html><html lang=\\\"en\\\" class=\\\" ltr \\\" data-doctype=\\\"true\\\" dir=\\\"ltr\\\"><head><title>ServiceNow</title><meta http-equiv=\\\"X-UA-Compatible\\\" content=\\\"IE=Edge,chrome=1\\\"></meta><meta http-equiv=\\\"cache-control\\\" content=\\\"public\\\"></meta><meta name=\\\"viewport\\\" content=\\\"initial-scale=1.0, maximum-scale=1.0, user-scalable=no\\\"></meta><script type=\\\"text/javascript\\\" data-description=\\\"globals population\\\">\\n^ in <eval> at line number 3059\",\n \"componentType\" : \"JAVASCRIPT_TRANSFORM\"\n } ]\n}", "componentType" : "BAPI_INVOKER" } ] }
===================================================================================