Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/04/2024 10:29 AM
We are trying to create the accounts for Domino using the OOTB Domino(Domino) connection Type, Below is the createAccount JSON format :
{
"firstname": "${user.firstname}",
"lastname": "${user.lastname}",
"userPassword":"${randomPassword}",
"mailSystem": "1",
"idType": "HIERARCHICAL",
"policyName": "/org",
"setUniqueShortName": "Y",
"ShortName": "${user.username}",
"setStoreIDInMailfile": "N",
"setSynchInternetPassword": "N",
"setCreateMailDB": "N",
"setStoreIDInAddressBook": "N",
"setNorthAmerican": "Y",
"minPasswordLength":"5",
"setUpdateAddressBook": "Y",
"registrationServer": "DominoServeIP",
"certifierIDFile": "C:/Lotus/Domino/Data//Cert.id",
"userIdFilePath":"C:/Lotus/Domino/Data//${user.username}.id",
"mailServer": "CN=DominoHostName/O=Saviynt",
"mailFile":"mail/${user.username}",
"registrationLog": "log.nsf",
"attributeList": [
"Owner###CUSTOMPROPERTY1",
"FullName###CUSTOMPROPERTY2",
"NoteUniversalId###accountID",
"FirstName###CUSTOMPROPERTY3",
"LastName###CUSTOMPROPERTY4",
"ShortName###CUSTOMPROPERTY5",
"InternetAddress###CUSTOMPROPERTY6"
],
"fullNameFilter": "[FullName] = ${user.firstname} ${user.lastname}/Saviynt; ${user.firstname} ${user.lastname}"
}
We can see in the logs createAccount JSON is getting called after that we are getting error. Below is the snippet from the logs.
Please suggest us with Solution.
09/04/2024 10:31 AM
09/04/2024 11:07 AM
Hello @rushikeshvartak ,
Please find the attached log file, We are not able to check it from postman as there is no url in the CreateAccountJSON file.
09/04/2024 11:18 AM
can you try this , add NoteId also in mapping and change Universal to cp10
"attributeList": [
"Owner###CUSTOMPROPERTY1",
"FullName###CUSTOMPROPERTY2",
"NoteUniversalId###CUSTOMPROPERTY10",
"NoteId###accountID",
"FirstName###CUSTOMPROPERTY3",
"LastName###CUSTOMPROPERTY4",
"ShortName###CUSTOMPROPERTY5",
"InternetAddress###CUSTOMPROPERTY6"
]
09/04/2024 11:54 AM
Hello @Amit_Malik i have tried the above the approach, Similar logs like i attached above.
Logs:
"2024-09-04T18:46:21.774+00:00","ecm-worker","domino.DominoProvisioningService","quartzScheduler_Worker-6-pnj5j","DEBUG","creating account in Domino"
"2024-09-04T18:46:21.781+00:00","ecm-worker","domino.DominoProvisioningService","quartzScheduler_Worker-6-pnj5j","DEBUG","lotusToAccountsMap: [NoteUniversalId:CUSTOMPROPERTY10, NoteId:ACCOUNTID, Owner:CUSTOMPROPERTY1, InternetAddress:CUSTOMPROPERTY6, FirstName:CUSTOMPROPERTY3, FullName:CUSTOMPROPERTY2, ShortName:CUSTOMPROPERTY5, LastName:CUSTOMPROPERTY4]"
"2024-09-04T18:46:21.782+00:00","ecm-worker","domino.DominoProvisioningService","quartzScheduler_Worker-6-pnj5j","ERROR","Exception while createAccountDomino: "
"2024-09-04T18:46:22.522+00:00","ecm-worker","","null-pnj5j","","groovy.lang.MissingPropertyException: No such property: restUtilService for class: com.saviynt.provisoning.domino.DominoProvisioningService at com.saviynt.provisoning.domino.DominoProvisioningService$_createAccountDomino_closure2.doCall(DominoProvisioningService.groovy:510) at com.saviynt.provisoning.domino.DominoProvisioningService.createAccountDomino(DominoProvisioningService.groovy:361) at com.saviynt.ecm.services.ArsTaskService.createAccountTarget(ArsTaskService.groovy:11868) at com.saviynt.ecm.services.ArsTaskHelperService$_whenTaskTypeIsThreeNewAccountAccess_closure50.doCall(ArsTaskHelperService.groovy:3078) at com.saviynt.ecm.services.ArsTaskHelperService.whenTaskTypeIsThreeNewAccountAccess(ArsTaskHelperService.groovy:3069) at com.saviynt.ecm.services.ArsTaskHelperService$_completeAutoProvTasksUpgraded_closure1.doCall(ArsTaskHelperService.groovy:175) at com.saviynt.ecm.services.ArsTaskHelperService.completeAutoProvTasksUpgraded(ArsTaskHelperService.groovy:160) at MultipleProvisioningJob.execute(MultipleProvisioningJob.groovy:222) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)"
09/04/2024 11:28 AM
Need postman details
09/04/2024 11:55 AM
Hello @rushikeshvartak we do not have the postman setup as the create account JSON.