Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Handling SAP License Provisioning with Dynamic Attribute

TimoR
Regular Contributor
Regular Contributor

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?

3 REPLIES 3

Raghu
All-Star
All-Star

@TimoRCan  you try use String instead of ENUM check it


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

TimoR
Regular Contributor
Regular Contributor

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

 

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


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.