Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/26/2024 09:50 PM
I have configured account name rule at endpoint level to generate the unique account name for user accounts. I am using the below advanced query :
concat(users.customproperty45,' ',users.customproperty46)#concat(users.customproperty45,' ', substring(users.customproperty46,1,1))#concat(users.customproperty45,' ',substring(users.customproperty46,1,2))#concat(users.customproperty45,' ',substring(users.customproperty46,1,3))
But when a new account is getting created from Technical rule, the account name is getting generated using the first query. Though the account name generated is already present in Saviynt.
(Also I have tried with all the options available in Check Unique Account. )
Can anyone help with the issue.
06/26/2024 09:53 PM
Share logs
06/26/2024 09:57 PM
06/26/2024 10:06 PM
Does it same behaviour with other application,
06/26/2024 10:10 PM
I have not checked for other applications. It will be a requirement for this application only so was checking for this only.
06/26/2024 10:20 PM
I suspect issue with Space in account name
06/26/2024 11:39 PM
But the space is getting generated in the account name. What I suspect is for some reason its not even going for the 2nd,3rd... rules separated by #. Even in log it only prints the first rule in advanced section
06/27/2024 03:37 AM
@tuhink , does it work fine from ARS?
06/27/2024 04:10 AM
Didnt check..we do not need from ARS, we only need to provide access from technical rule
06/27/2024 06:38 AM
Try
CASE WHEN LENGTH(users.customproperty46) = 1 THEN CONCAT(users.customproperty45, ' ', users.customproperty46) WHEN LENGTH(users.customproperty46) = 2 THEN CONCAT(users.customproperty45, ' ', SUBSTRING(users.customproperty46, 1, 1)) WHEN LENGTH(users.customproperty46) = 3 THENCONCAT(users.customproperty45, ' ', SUBSTRING(users.customproperty46, 1, 2)) ELSECONCAT(users.customproperty45, ' ', SUBSTRING(users.customproperty46, 1, 3)) END
06/27/2024 08:57 PM
Its following the rule that you have given, the length of users.customproperty46 is 4 so its using the ELSE condition & creating the account name. But how can I use this to create unique account name?
06/28/2024 02:25 PM
Using #
07/18/2024 03:19 AM
It didn't work
06/27/2024 06:00 AM
Yes yes I get that ... But ARS will give a better idea if it is moving to 2 nd rule.
07/23/2024 08:46 AM
Tested using ARS with same rule and it is creating accounts as below. So accounts are getting created as per the rule.
Regards,
Dhruv Sharma
07/23/2024 08:37 PM
Hi @Dhruv_S you are creating via ARS. But my requirement is creating the account through Technical Rule. Through technical rule its not working.
07/23/2024 09:30 AM - edited 07/23/2024 09:30 AM
07/24/2024 08:32 AM
07/24/2024 08:31 PM
Hi @Dhruv_S We are using Version 24.4 and its not working. Will it be possible to for you to check in this version?
07/25/2024 04:28 AM
Hi @tuhink
I don't have 24.4 version to test this. If this is not working in 24.4, either you can plan to upgrade or open a ticket with support so that support can check if it is a bug in that version.
Regards,
Dhruv Sharma