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

19 REPLIES 19

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
Esteemed Contributor
Esteemed Contributor

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


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

cgowda
New Contributor III
New Contributor III

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

NM
Esteemed Contributor
Esteemed Contributor

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


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

cgowda
New Contributor III
New Contributor III

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

NM
Esteemed Contributor
Esteemed Contributor

Try only with manager approval workflow @cgowda 


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

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

 

nelbakriui
New Contributor II
New Contributor II

Hi @cgowda , @rushikeshvartak 

did you find any workaround ? we also have the same issue when using a multiple levels validation workflow, version 24.3, when workflow is remove or autoapprove the username is well calculated

Please share logs


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

nelbakriui
New Contributor II
New Contributor II

Hi @rushikeshvartak 

please find logs attached

  • Create dynamic attribute and map users column to username

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

nelbakriui
New Contributor II
New Contributor II

hi @rushikeshvartak 

where the DA should be positionned, form or workflow ? fyi the workflow does not requier the username

workflow.png 

Form


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

nelbakriui
New Contributor II
New Contributor II

ok @rushikeshvartak , we need to reuse the same "Add Register User Rule" in forms  ?

Yes


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