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

Dynamic attrbute value population based requestor attributes

gwagh
Regular Contributor
Regular Contributor

Hi Team,

 

We have a use case, If requestor cost center is = 'ABC'  then in the dynamic attribute Depertcode1 and Depertcode2 should be populate and if the requestor cost center is = 'XYZ' then in the attribute Depertcode3 and Depertcode4.

 

How we can define this ?

 

Thanks,

Gaurav

2 REPLIES 2

PremMahadikar
All-Star
All-Star

Hi @gwagh ,

You can achieve this by considering cost center as dynamic attribute.

Dynamic Attribute for costcenter:

Attribute Namecostcenter
Attribute TypeSingle Select From SQL Query
Valueselect costcenter ID from users where userkey=${requestor}
Default valueselect costcenter ID from users where userkey=${requestor}
Editableunchecked

Action String: 

SHOW###Depertcode1##ABC___SHOW###Depertcode2##ABC___HIDE###Depertcode3##ABC___HIDE###Depertcode4##ABC___SHOW###Depertcode4##XYZ___SHOW###Depertcode3##YYZ___HIDE###Depertcode2##XYZ___HIDE###Depertcode1##XYZ___

PremMahadikar_0-1715349579535.png

 

If this answers your question, please consider selecting Accept As Solution and hit Kudos

rushikeshvartak
All-Star
All-Star

You can use single select SQL query with default value sample

select costcenter as ID from users where userkey=${requestor}


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