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

Add Register User Rule

cgowda
New Contributor III
New Contributor III

Hi Experts,

We are using below advanced query to generate username in saviynt

Global Configuration-->Identity Life Cycle--> Add Register User Rule-->Advanced Config

ucase(
REPLACE(
REPLACE(CONCAT(
SUBSTRING('ABCDEFGHJKLMNPQRSTUVWXYZ', FLOOR(RAND() * 24) + 1, 1),
SUBSTRING('ABCDEFGHJKLMNPQRSTUVWXYZ', FLOOR(RAND() * 24) + 1, 1),
LPAD(FLOOR(RAND() * 1000), 3, '0'),
SUBSTRING('ABCDEFGHJKLMNPQRSTUVWXYZ', FLOOR(RAND() * 24) + 1, 1),
SUBSTRING('ABCDEFGHJKLMNPQRSTUVWXYZ', FLOOR(RAND() * 24) + 1, 1)
), '1', '2'),
'0', '9')
)

Issue: when we import new users from HR feed, username creating as expected but when we create user from UI (through create user request form) it's not working as expected. is there any alternative way to fix the issue?

Note: We have a user modification workflow

 

Regards,

Chandan

11 REPLIES 11

naveenss
All-Star
All-Star

Hi @cgowda this is working as expected for me in 24.4 

Do you see any error in logs when you create user from UI?

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

cgowda
New Contributor III
New Contributor III

Hi @naveenss 

Please find the attached logs for your reference

 

NM
Honored Contributor II
Honored Contributor II

Hi @cgowda , atach auto approval workflow and give it a shot.

cgowda
New Contributor III
New Contributor III

@NM if i attach auto approval WF, it works fine

NM
Honored Contributor II
Honored Contributor II

@cgowda , we also had the same issue and went ahead with auto approval.

cgowda
New Contributor III
New Contributor III

@NM currently we are using organization owner approval WF for both create and update user request

NM
Honored Contributor II
Honored Contributor II

Try only with manager approval workflow @cgowda 

rushikeshvartak
All-Star
All-Star

Could you kindly provide a detailed snapshot of the information extracted from the logs, encompassing errors and other pertinent functionality details encountered during the execution of this process? Your assistance in furnishing this information would greatly aid in the analysis and resolution of any issues .



‼️‼️⚠️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.⚠️‼️‼️


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

@rushikeshvartak 

please find the required information

cgowda_0-1723537911082.png

 

[This message has been edited by moderator to mask sensitive information from an attached log]

Please share global configuration screenshot for rule


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

 

cgowda_0-1723555769144.png