Does anyone used the variable “isUniqueLDAPValue” for uniqueness check? How this function should be used?
I want to use the below function to check the uniqueness of email and SMTP for new user creation. Both attributes are enabled.
Couple of issues I saw:
No logs are coming up for this. Sailpoint does not see any logs from their end
→ log.info("xxxxxxxxxxxxxxx isUnique 2222222222 xxxxxxxxxxxxxxxxxxxx: " + isUnique2);
Getting error while creating a new AD account
→ Unable to generate a unique value for ‘MSxxxx’, action LDAPUniqueValueValidator[mailAttribute=“[email protected]”,app=Uxx-AD-Source] is not retry-able due to InterruptedException: Timeout waiting for response to message 8234 from client dxxxx6-7119-4xxad-8xxc7-1e0exxx51d2 after 30 seconds.
Below is the code I added just to check the variable value:
boolean isUnique2 = idn.isUniqueLDAPValue(IdentityID, AD_SOURCE_ID, “mailAttribute”, newEmail);
can you check if any other attribute from the create profile causing the issue for creating account like for me it was manage DN.
also isUniqueLDAPValue will not terminate the process/Code, it will just return false, you will need to handle that in the rule how to proceed if it returns false, Most of the time value(newEmail) for the attribute will be generated within the rule and passed to isUniqueLDAPValue method.
Thanks Dheeraj, I tried that earlier and causing issues. Will change the logger and see how it goes with that. In ISC, the cloud logs are visible to Sailpoint support only and we can’t see in our ccg logs for that. Will try log.error to see.