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

Technical rule issue

saurabhpad
New Contributor II
New Contributor II

Hi,

We are facing issue for technical rule, we want to assign enterprice role based on departmentname and title. We are using below syntax to achieve this but it is not evaluating rule.

${user.departmentname.toString().replaceAll("[^a-zA-Z\\-\\s]", "")}${user.title.toString()}

we want to replace all special characters except space and hyphen. 

8 REPLIES 8

Sivagami
Valued Contributor
Valued Contributor

What's the enterprise role name? Departmentname+title?

-Siva

saurabhpad
New Contributor II
New Contributor II

Yes enterprise role name is Departmentname_title

Sivagami
Valued Contributor
Valued Contributor

Did you try adding the separator _ between departmentname and title?
${user.departmentname.toString().replaceAll("[^a-zA-Z\\-\\s]", "")}_${user.title.toString()}

saurabhpad
New Contributor II
New Contributor II

Yes we have tried adding _ seprator but its not working 

 

saurabhpad
New Contributor II
New Contributor II

saurabhpad_0-1699264942197.png

 

saurabhpad
New Contributor II
New Contributor II

Any pointers if it is possible in technical rule?

Try to rename enterprise roles 


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

Do you mean change role name format?