Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Dynamic Attribute based on user attribute value

sandeepgudipudi
New Contributor III
New Contributor III

I create dynamic attribute called Application Name and attribute type is enum with App1 and App2

when user selects App1 it should show entitlements based on location, if user selects App1 and user location is 'Newyork' it should show App1/Ent1 else App1/Ent2.

when user selects App2 it should show all entitlements of App2

9 REPLIES 9

naveenss
All-Star
All-Star

@sandeepgudipudi refer below forum post

https://forums.saviynt.com/t5/identity-governance/config-for-requestable-entitlement-in-ars-query-wi...

 

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.

Manu269
All-Star
All-Star

@sandeepgudipudi this can be achived with the help of DA on the form.

Further you can control the visibility via Config for Requestable Entitlement for entitlementType.

Of course this requires through testing hence you need to have all possible conditions.

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.

rushikeshvartak
All-Star
All-Star
  • Store App1 /App2 in Entitlement CP1 
  • Now in Entitlement Type Config configure below query ev.status=1 and ev.customproperty1 ='${DA_APP}' in Config for Requestable Entitlement on ARS
  • DA_APP is dynamic attribute name

Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

sandeepgudipudi
New Contributor III
New Contributor III

Hi but my requirement is 

when user selects App1 it should show entitlements based on location(DA is in place), if user selects App1 and user location is 'Newyork' it should show App1/Ent1 if user location is Los Angelos it should show App1/Ent2.

when user selects App2 it should show all entitlements of App2

Yes above suggested approch will work


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

sandeepgudipudi
New Contributor III
New Contributor III

In Above approach it is showing App1 all entitlements and when App2 is selected App2 all entitlements are shown but by requirement is when App1 is selected it should only show App1/Ent1 only based on Location which is 'Newyork' if user location is 'Los Angelos' it show App1/Ent2

Then also store user location in entitlement customproperty and filter based on location + App


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

sandeepgudipudi
New Contributor III
New Contributor III

This what i tried but no luck

ev.status=1 and ev.customproperty16='${ApplicationName}' and (ev.customproperty16='SCM') or ((ev.customproperty16='Baas' and ev.customproperty17='New York') or (ev.customproperty16='Baas' and ev.customproperty17='Los Angelos'))

 

ev.status=1 and (ev.customproperty16='SCM') or ((ev.customproperty16='Baas' and ev.customproperty17='New York') or (ev.customproperty16='Baas' and ev.customproperty17='Los Angelos'))

ApplicationCP16
App1NY
App2IN
App2AZ
  

 

ev.status=1 and ((ev.customproperty16='${ApplicationName}' AND ev.customproperty17='NY') OR (ev.customproperty16='${ApplicationName}' AND ev.customproperty17 IN ('IN','AZ'))


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.