Leveraging Intelligent Recommendations for Operational Transformation. AMS Partners click HERE | EMEA/APJ Partners click HERE |
12/03/2023 07:17 PM
Hello,
I made an request for others to grant a Sav Role(Read Admin).
The task is completed and I can see the role in "Selected" in ARS.
But, the role is actually not assigned to the user.
Can you please give me some advice to make it work?
Solved! Go to Solution.
12/03/2023 07:37 PM
@Joon , pls check the AddAccessJSON for the connection that processed the particular task to completion. Check the REST API that is getting invoked from that JSON.
12/03/2023 07:40 PM
Only sav role entitlement is added not actual sav role. check add access json in connection
Please find working json
{
"call":[
{
"name":"SAVRole",
"connection":"acctAuth",
"url":"https://dev.saviyntcloud.com/ECM/api/v5/addremoveuserfromrole",
"httpMethod":"POST",
"httpContentType":"application/json",
"httpParams":"{\"username\":\"${arsTasks.accountKey.name}\",\"rolename\":\"${entitlementValue.entitlement_value}\",\"operation\":\"1\"}",
"httpHeaders":{
"Authorization": "${access_token}"
},
"successResponses": {
"statusCode": [
200,
201
]
}
}
]
}