We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

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 you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Do you mean change role name format?