Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Job end date issue

RCreddy
New Contributor
New Contributor

Hello Team,

We are observing an issue where the user import job status is showing as success but the end date is not populating and also user details are not fectching

RCreddy_0-1704996929457.png

please find the logs below:

2024-01-11T23:35:39+05:30-ecm-worker-rest.RestUtilService-quartzScheduler_Worker-3-k4jd4-DEBUG-Writing job history to import logs.
2024-01-11T23:35:39+05:30-ecm-worker-rest.RestUtilService-quartzScheduler_Worker-3-k4jd4-DEBUG-Number of log entries to be written : 0
2024-01-11T23:35:39+05:30-ecm-worker-listeners.ExceptionPrinterJobListener-quartzScheduler_Worker-3-k4jd4-ERROR-Exception occured in job: DATA.UserImportJob
2024-01-11T23:35:40+05:30-ecm-worker--null-k4jd4--org.quartz.JobExecutionException: org.json.JSONException: JSONArray[0] not found. [See nested exception: java.lang.Error: org.json.JSONException: JSONArray[0] not found.] at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)Caused by: java.lang.Error: org.json.JSONException: JSONArray[0] not found. at com.hcmatom.ReadEmpWorkerRecord.readEmpRecord(ReadEmpWorkerRecord.java:266) at com.hcmatom.AtomFeedReader.feedReader(AtomFeedReader.java:279) at com.hcmatom.OracleHCMAtomFeed.doCustomPreprocess(OracleHCMAtomFeed.java:88) at com.saviynt.ecm.services.ImportSAvDataUserService.callCustomPreProcessorMethod(ImportSAvDataUserService.groovy:562) at com.saviynt.ecm.services.ImportSAvDataUserService$_doImportDataPreprocessing_closure10.doCall(ImportSAvDataUserService.groovy:407) at com.saviynt.ecm.services.ImportSAvDataUserService.doImportDataPreprocessing(ImportSAvDataUserService.groovy:405) at com.saviynt.ecm.services.ImportSAvDataUserService.importDataFromFile(ImportSAvDataUserService.groovy:733) at com.saviynt.provisoning.rest.RestProvisioningService.processUsers(RestProvisioningService.groovy:3090) at com.saviynt.provisoning.rest.RestProvisioningService.importUsers(RestProvisioningService.groovy:2942) at com.saviynt.ecm.integration.ExternalConnectionCallService.importUserUsingExternalConnection(ExternalConnectionCallService.groovy:1111) at UserImportJob.execute(UserImportJob.groovy:108) ... 2 moreCaused by: org.json.JSONException: JSONArray[0] not found. at org.json.JSONArray.get(JSONArray.java:225) at org.json.JSONArray.getJSONObject(JSONArray.java:438) at com.hcmatom.ReadEmpWorkerRecord.readWorkerRecord(ReadEmpWorkerRecord.java:612) at com.hcmatom.ReadEmpWorkerRecord.readEmpRecord(ReadEmpWorkerRecord.java:242) ... 12 more
2024-01-11T23:35:39+05:30-ecm-worker--null-k4jd4--11-Jan-2024 18:05:38.544 INFO [quartzScheduler_Worker-3] com.hcmatom.ReadEmpWorkerRecord.readEmpRecord Employee api ::HttpResponseProxy{HTTP/1.1 200 OK [Content-Type: application/vnd.oracle.adf.resourcecollection+json, Referrer-Policy: origin, X-Content-Type-Options: nosniff, Cache-Control: no-cache, no-store, must-revalidate, Location: , X-ORACLE-DMS-ECID: 0063ex_5p1rBX7U5q7P5iY0004J20000JA, X-ORACLE-DMS-RID: 0:5, Link: <https://removed.oraclecloud.com:443/hcmRestApi/resources/11.13.18.05/workers >;rel="self";kind="collection";name="workers", REST-Framework-Version: 1, X-XSS-Protection: 1; mode=block, Pragma: no-cache, Content-Language: en, Strict-Transport-Security: max-age=31536000; includeSubDomains, Date: Thu, 11 Jan 2024 18:05:38 GMT, Connection: keep-alive, Vary: Accept-Encoding, AKGRN: 0.87dc6068.1704996338.24ef3a99] 

thanks in adavance

[This message has been edited by moderator to disable url hyperlink]

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Did you added configJSON for connection timeout.


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hello Rushikesh,

We haven't added anything in configJSON- it is blank.

could you please me with the sample json that needs to be added to resolve this issue,

regards,

Rashmitha

{
"connectionTimeoutConfig": {
"connectionTimeout": 10,
"readTimeout": 60,
"writeTimeout": 60,
"retryWait": 2,
"retryCount": 3
}
}

 

https://docs.saviyntcloud.com/bundle/REST-v23x/page/Content/Configuring-Provisioning-Tasks-and-Conne...


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.