Solved! Go to Solution.
Hi @Anurag ,
To approve user creation request, can you please explain your use case around using /approveRejectDetailRequest API, because this API is used to take action on each line item in the request. Can you please try to use /approveRejectRequest which is used to approve whole request, as this wouldn't need any taskid to take action on the request. You'll just need REQUESTKEY or requestid for it.
Please take a look at the Saviynt API documentation for using /approveRejectRequest and it's required params.
We have custom UI screen where the approver will get all approval tasks assigned to them and since almost all type of request we created had associated tasks we were using approveRejectDetailRequest API.
if the expected behavior of /createUserRequest API is that it won't create tasks we will have to use /approveRejetRequest in those cases.
We had tried the /approveRejetRequest API as well, but it is failing with configuration not set error as shown in below screenshot.
priyanka_jha is an admin user in above case but not sure of the missing configuration here.
Hi @Anurag ,
In the savrole, we have few request related configurations that needs to be set as per the requirement. So please check if below configs are enabled in the ROLE_ADMIN in your environment
Kindly enable the configs and also check the other configs as in below screenshot and run the same test.