Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/05/2024 11:49 PM
Hi,
we want to make the possible SAP licenses selectable during account creation and updating in ARS.
We have a dynamic attribute of type ENUM with the possible licenses to choose from. The values are for example 91 or HD.
Now if we use this dynamic attribute to write those values to SAP into LIC_TYPE, this works like expected.
But as soon as we set the "Accounts Column" to "applicensetype" in the dynamic attribute, to read/write it to the account in Saviynt directly, we get the following error message:
org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.lang.String' to required type 'com.saviynt.ecm.sap.AppLicense' for property 'applicensetype'
Is there any way to do this correctly?
Solved! Go to Solution.
06/06/2024 12:35 AM
@TimoRCan you try use String instead of ENUM check it
06/06/2024 12:46 AM
Hi, thanks for your suggestion, but the outcome looks similar after converting the type of the dynamic attribute to string:
org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.lang.String' to required type 'com.saviynt.ecm.sap.AppLicense' for property 'applicensetype'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.lang.String] to required type [com.saviynt.ecm.sap.AppLicense] for property 'applicensetype': no matching editors or conversion strategy found at com.saviynt.ecm.services.ArsTaskService$_provisionAccesstoAccountSaviynt_closure169_closure314_closure330.doCall(ArsTaskService.groovy:12930) at com.saviynt.ecm.services.ArsTaskService$_provisionAccesstoAccountSaviynt_closure169_closure314.doCall(ArsTaskService.groovy:12920) at com.saviynt.ecm.services.ArsTaskService$_provisionAccesstoAccountSaviynt_closure169.doCall(ArsTaskService.groovy:12491) at com.saviynt.ecm.services.ArsTaskService.provisionAccesstoAccountSaviynt(ArsTaskService.groovy:12457) at com.saviynt.ecm.services.ArsTaskHelperService$_whenTaskTypeIsTwelveUpdateAccount_closure46.doCall(ArsTaskHelperService.groovy:2893) at com.saviynt.ecm.services.ArsTaskHelperService.whenTaskTypeIsTwelveUpdateAccount(ArsTaskHelperService.groovy:2879) at com.saviynt.ecm.services.ArsTaskHelperService$_completeAutoProvTasksUpgraded_closure1.doCall(ArsTaskHelperService.groovy:200) 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)Caused by: java.lang.IllegalStateException: Cannot convert value of type [java.lang.String] to required type [com.saviynt.ecm.sap.AppLicense] for property 'applicensetype': no matching editors or conversion strategy found ... 11 more
06/09/2024 09:58 PM
You need to store dynamic attribute value in custom property and not in applicationlicensetype column. as application license type saviynt internally maintain mapping which only comes from sap import job.
Please store dynamic attribute value in custom property of account