Click HERE to see how Saviynt Intelligence is transforming the industry. |
11/07/2023 11:09 PM
Hi Team,
We want to hide a specific entitlement and are only available to request if the requestee/user has country= 'Thailand' AND location = 'Office' attributes in their profile and the rest of the entitlements/roles will be available for all to request.
And I have tried with this query Config for Requestable Entitlement in ARS
query: ev.customproperty20 in (select country from Users where userkey in (${requestee})) AND ev.customproperty21 in (select location from Users where userkey in (${requestee}))
also updated customproperty20= 'Thailand' and customproperty21 = 'Office' the entitlement other attributes
11/08/2023 10:49 AM - edited 11/08/2023 10:53 AM
Hello @biswajitoram ,
This way it may not work..
did you try to configure dynamic attribute so that user can select country thailand or others location as office or others, based on that the entitlements will be displayed.
11/08/2023 08:42 PM
Possible solutions
01/22/2024 11:45 PM - edited 01/22/2024 11:47 PM
Hi @rushikeshvartak @sudeshjaiswal
Thanks for your support.
1. I have achieved this without going for the Dynamic attributes. PFA the query I have used.
query:- ev.entitlement_value not like 'entitlement_value' OR (ev.customproperty20 in (select country from Users where userkey in (${requestee})) AND ev.customproperty21 in (select location from Users where userkey in (${requestee})))
I have updated the CP20 = CountryName and CP21 = LocationName
2. But we have another requirement with this. We want to restrict another entitlement same as the above. I have tried with multiple options but getting this error.
Not sure how can I restrict both entitlements EntA and EntB or multiple entitlements. I have tried to update the CP20 AND 21 values for EntB same as EntA, but still not working.
Could you please help me with the query?
01/23/2024 08:18 PM
Can you explain with example
01/30/2024 08:33 PM
The earlier requirement was that only EntA can be requestable in ARS only by users with country= "CountryA" and location = "LocationA". And I have achieved this requirement by below query:
query:- ev.entitlement_value not like 'EntA' OR (ev.customproperty20 in (select country from Users where userkey in (${requestee})) AND ev.customproperty21 in (select location from Users where userkey in (${requestee})))
So, now the new requirement is EntB also can be requestable in ARS only by users with country= "CountryA" and location = "LocationA" same as the previous requirement.
I have tried merging different queries but I am getting the error as I mentioned earlier.
Could you please help me with the query?
01/31/2024 10:01 PM
Share logs