Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/10/2024 07:43 AM
In Access request user should be shown entitlements if user department is XYZ else it should pop message you are not part of XYZ department
05/10/2024 08:06 AM
Hi @sandeepgudipudi ,
select departmentname ID from users where userkey=${requestor}
Reference article: Setting Up Simple Form Fields (saviyntcloud.com)
If this helps your question, please consider selecting Accept as Solution and hit kudos
05/10/2024 09:07 AM
@sandeepgudipudi : Couple of things in your requirement
1. Show entitlements based on department match
2. If not matching then provide a popup message
In this first part can be achieved by what @PremMahadikar mentioned but I am just simplifying the solution little bit
Where as your second part is not possible. If condition doesn't match they just don't see any entitlement, popup is not possible
05/10/2024 10:01 AM - edited 05/10/2024 10:01 AM
Attribute | Values |
Attribute Name | DA_DEPT_RESTRICTIONS |
Request Type | Account |
Attribute Label [Bold] | Access Authorization |
Order Index | 0 |
Attribute Type | Single Select Query from SQL |
Value | SELECT CASE WHEN departmentname != 'IT' THEN 'You are not authorized to request Please select back button to remove application.' ELSE 'You are authorized to raise request for user.' END AS id FROM users WHERE userkey = '${user.id}'; |
Default value | SELECT CASE WHEN departmentname != 'IT' THEN 'You are not authorized to request Please select back button to remove application.' ELSE 'You are authorized to raise request for user.' END AS id FROM users WHERE userkey = '${user.id}'; |
Enable configs | |
What action to perform when Parent attribute changes? | Mapping |