Service now group recon not saving entitlements in Saviynt

Karankumar
New Contributor
New Contributor

Hi,

Service Now group recon is able to get the successful response (GET response) from the group endpoint   but not able to save the entitlements in Saviynt.

"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,091 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - INFO: Entitlement_value is null, record not saved.\n","stream":"stdout","time":"2023-09-17T16:54:17.091442489Z"}"

Entitlement_value mapping is already present in the group json.

 

 

5 REPLIES 5

rushikeshvartak
All-Star
All-Star

Can you share json & steps to replicate

{
"accountParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://<HOSTNAME>/api/x_thffl_cmdb_api/users/all?limit=1&source=Workday",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"statusConfig": {
"active": "true",
"inactive": "false"
},
"listField": "result",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "id~#~char",
"name": "user_name~#~char",
"displayname": "display_name~#~char",
"status": "active~#~char"
}
}
}
},
"entitlementParams": {
"processingType": "SequentialAndIterative",
"entTypes": {
"Group": {
"entTypeOrder": 0,
"entTypeLabels": {},
"call": {
"call1": {
"connection": "userAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://<HOSTNAME>/api/x_thffl_cmdb_api/groups/all",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"statusConfig": {
"active": "true",
"inactive": "false"
},
"listField": "result",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "id~#~char",
"entitlement_value": "name~#~char",
"status": "active~#~char"
}
}
},
"entMappings": {
"Group": {
"listPath": "parent",
"idPath": "value",
"idColumn": "entitlementID",
"mappingTypes": [
"ENTMAP"
]
}
}
}
}
},
"acctEntParams": {}
}

Steps to replicate:

Run the Service Now Access Recon Job - Import (Application Data Import (Single Threaded) )  .

Logs : 

responseText:{\"result\":{\"count\":10.0,\"records\":[{\"id\":\"3b785b771b68f4500262a648624bcb86\",\"name\":\" ProSurv3 Approvers\"},{\"id\":\"e4f694421bc22010b309ea807e4bcbee\",\"name\":\"7873 Sales \u0026 Compensation Tech Resource Managers\"},{\"id\":\"1e7897771b68f4500262a648624bcb3b\",\"name\":\"A Team Approvers\"},{\"id\":\"89e1d7481b396010d5e19713b24bcbe7\",\"name\":\"AAC Production Support\"},{\"id\":\"a04723351bac7f44b787ea866e4bcbb3\",\"name\":\"AAIA Business Approvers\"},{\"id\":\"01881f771b68f4500262a648624bcbb2\",\"name\":\"AAIA Fulfillers\"},{\"id\":\"864727351bac7f44b787ea866e4bcb30\",\"name\":\"Accounting Batch Processing Business Approvers\"},{\"id\":\"55724b16878f05d43f8a7489cebb3596\",\"name\":\"Accounting Product BSA Support\"},{\"id\":\"127897771b68f4500262a648624bcb42\",\"name\":\"ACIClientConsole Approvers\"},{\"id\":\"244723351bac7f44b787ea866e4bcbb8\",\"name\":\"Activity Records\"}]}}, cookies:[BIGipServerpool_thriventdev=115d42e52b3b9aeb55977ad6bdd41880; httponly; secure; path=/; SameSite=None, JSESSIONID=8BB02CEDD8E4D972213A1156CBB4E5BB; Path=/; HttpOnly; secure; SameSite=None, glide_user=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; secure; SameSite=None, glide_user_session=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; secure; SameSite=None, glide_user_route=glide.2c0ea2caad3b7fa0a45dc678dd5557be; Max-Age=2147483647; Expires=Fri, 05-Oct-2091 20:08:24 GMT; Path=/; HttpOnly; secure; SameSite=None, glide_session_store=053C01121BD575108BCDA683B24BCB01; Max-Age=1800; Expires=Sun, 17-Sep-2023 17:24:17 GMT; Path=/; HttpOnly; secure; SameSite=None], statusCode:200]\n","stream":"stdout","time":"2023-09-17T16:54:17.089956898Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,089 [quartzScheduler_Worker-5] DEBUG rest.RestUtilService - pullObjectsByRest - responseStatusCode ::200\n","stream":"stdout","time":"2023-09-17T16:54:17.090007965Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,090 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - Entered getResponseHeaders method\n","stream":"stdout","time":"2023-09-17T16:54:17.090416011Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,090 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - responseError : null\n","stream":"stdout","time":"2023-09-17T16:54:17.090484605Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,090 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - isAuthError: false\n","stream":"stdout","time":"2023-09-17T16:54:17.090626873Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,090 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - pullObjectsByRest - responseMap.size : 1\n","stream":"stdout","time":"2023-09-17T16:54:17.090637549Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,090 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - pullObjectsByRest - objectList.size : 2\n","stream":"stdout","time":"2023-09-17T16:54:17.090642597Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,090 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - Decrementing connectionParamMap.refreshTryCount : 0\n","stream":"stdout","time":"2023-09-17T16:54:17.090665452Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,091 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - Inside importAccessFull:persistEntObjects, pptTypeSep : ~#~\n","stream":"stdout","time":"2023-09-17T16:54:17.09108856Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,091 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - INFO: Entitlement_value is null, record not saved.\n","stream":"stdout","time":"2023-09-17T16:54:17.091442489Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,091 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - secondaryEntTypeImportConfig: null\n","stream":"stdout","time":"2023-09-17T16:54:17.091456205Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,092 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - calling buildEntitlementMappings..\n","stream":"stdout","time":"2023-09-17T16:54:17.092866323Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,092 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - Inside RestProvisioiningService.buildEntitlementMappings\n","stream":"stdout","time":"2023-09-17T16:54:17.092879853Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,095 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - called fetchEntitlementTypesFromEntMappingParams..entTypesMap = [Group:96]\n","stream":"stdout","time":"2023-09-17T16:54:17.095230262Z"}"true\n","stream":"stdout","time":"2023-09-17T16:54:17.096817272Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,096 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - Inside deleteAccountEntitlementsByEntType \n","stream":"stdout","time":"2023-09-17T16:54:17.096826991Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,098 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - Deletion of old Account_entitlements1 complete\n","stream":"stdout","time":"2023-09-17T16:54:17.098086441Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,098 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - processAccountEntitlementParams complete..\n","stream":"stdout","time":"2023-09-17T16:54:17.098480484Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,098 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - calling processEntitlementOwnerParams - memento.entTypesSet : [96]\n","stream":"stdout","time":"2023-09-17T16:54:17.098497733Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,098 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - Inside processEntitlementOwnerParams*****\n","stream":"stdout","time":"2023-09-17T16:54:17.098502422Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,098 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - processEntitlementOwnerParams complete..\n","stream":"stdout","time":"2023-09-17T16:54:17.098505175Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,098 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - Enter cleanUpDeletedLinks\n","stream":"stdout","time":"2023-09-17T16:54:17.098517435Z"}"
"ecm-worker","2023-09-17T16:54:17.727+00:00","{"log":"2023-09-17 16:54:17,098 [quartzScheduler_Worker-5] DEBUG rest.RestProvisioningService - Inside cleanUpEntitlement2ByEntType

[This message has been edited by moderator to remove hyperlink to URL]

I have shared the json and steps

Karankumar
New Contributor
New Contributor

Kindly help