Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/04/2023 04:31 AM
Hi team,
We have a disconnected application, entitlement (Role) is selectable based on the Area and PSL value (2 dynamic attributes).
Now we are making it as connected application using ootb Rest connector. Below is the API payload for creating user,
<?xml version="1.0" encoding="UTF-8"?>
<ManageSFSUserAccess>
<Action>Create</Action>
<HALID>User name</HALID>
<FirstName>FirstName</FirstName>
<LastName>LastName</LastName>
<Area>North America (US/Canada)</Area>
<PSL>Production Enhancement</PSL>
<Role>Read Only</Role>
</ManageSFSUserAccess>
Please let me know if
1) I can fetch the selected entitlement value in Role field in createAccountJSON
2) Create a dynamic attribute for Role selection which is dependent on Area and PSL value selection
3) Create a dynamic attribute to hold the entitlement value which I can pass in JSON
Thanks,
Smitha
Solved! Go to Solution.
04/04/2023 06:30 AM
1. Create Account JSON will not have a reference to any entitlements.
2. Your dynamic attribute approach will work only if user is allowed to select one role while requesting. Also the DA value can be determined by other DAs but not on the basis of selected/existing list of entitlements on the page.
04/04/2023 10:50 PM - edited 04/04/2023 10:57 PM
Yes, user is allowed to select one role at a time. But the problem is Role value is dependent on 2 DAs i.e. Area and PSL (PFA role mapping example)
Currently I have below query in Config for Requestable Entitlement in ARS to achieve the same.
ev.customproperty1='${Area}' and ev.customproperty2='${PSL}' and ev.status=1
How to implement this with DA approach. Kindly suggest.
Thanks,
Smitha
04/04/2023 11:11 PM
Hello,
1. One of the possible options is you capture the requisite details around roles in the custom Property of roles (In this case entitlement I believe).
2. Once this is done, on the endpoint you can create 2 dynamic attributes at the particular endpoint.
3. You can create DA of using the required query .
For more details refer this :
04/04/2023 11:46 PM
Have 3 DAs as below:
Area,PSL and Role
Role will have parent as PSL, PSL will have parent as Area.
User will select Area,then PSL and then Role. Use DA in the create account json.
But on success of the create account task you will not see Account to Role mapping in Account profile. That will be available post recon only.