Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/11/2022 01:16 AM
Hi,
I wanted to know if INCREMENTINDEX operation is supported in AD connector's CHECKFORUNIQUE json
CHECKFORUNIQUE Example :
{"sAMAccountName": "${user.firstname.toLowerCase().substring(0,1)}${user.lastname.toLowerCase()}###${user.firstname.toLowerCase().substring(0,1)}${user.lastname.toLowerCase()}###INCREMENTINDEX###"}
08/11/2022 02:14 AM
Technically it should not as how system will now until which point increment to stop. Hence you need to add incremental number manually.
Did you tried using keyword if else what error you have seen in logs?
08/11/2022 02:35 AM
Yes I tried multiple combinations but looks like its considered as String not getting resolved as INCREMENTINDEX. So no Error but its getting resolved as INCREMENTINDEX or jdoe{INCREMENTINDEX}
The requirement is to generate region specific unique samAccountName by validating from AD. And the region specific combinations required to be till 999. Adding incremental number manually for all regions doesn't look a clean configuration.
08/11/2022 02:42 AM
I agree for thats one time activity you need to do.
For future you can raise enhancement request with product team via below portal
08/11/2022 02:47 AM
Thanks for the quick response. One more question, is there any character limit for CHECKFORUNIQUE configuration ?
08/11/2022 07:47 AM
08/11/2022 08:13 AM
Hi @prajakta - If your original question was answered, please click the "Accept As Solution" button on the post that offered the best help to your situation. Thank you!