Share all details related to your problem, including any error messages you may have received.
Grant Role API for one of our applications always returns 200 response code but the response body has a parameter (IsSuccess=true/false) using which we can identify whether it actually the role to the user on end system or not.
SailPoint will always commit the status as response returned is 200. Is there a way to fail the access request by reading the response in this case if provisioning on end system got failed?
I have added above lines in my app.xml file and handled exception in webserviceafteropsrule. rule is returning Process response ex: sailpoint.tools.GeneralException: operation has failed based on the response value(issucces=false) but I did not see any error on the UI and can see status committed only. Please advise what to do.
hi Ashutosh, API is returning response code 200 for incorrect input but response message shows issuccess false.
IIQ UI shows operation status committed but i need to see failure .
i changed to false but still i did not any error in the UI.response is below. I did not create any schema attribute for response. so i did not map response.
{
"issuccess": false,
"message": "winms - Invalid User ID."
}
iiq log shows below
2024-06-03T11:58:08,222 ERROR https-openssl-nio-443-exec-5 connector.webservices.v2.RequestOrchestratorV2:166 - value from JSON Body :::: false
2024-06-03T11:58:08,222 ERROR https-openssl-nio-443-exec-5 connector.webservices.v2.RequestOrchestratorV2:166 - Rule - Process response ex: sailpoint.tools.GeneralException: operation has failed
2024-06-03T11:58:08,238 ERROR https-openssl-nio-443-exec-5 connector.webservices.v2.RequestOrchestratorV2:166 - Rule - Process response : end
2024-06-03T11:58:08,238 DEBUG https-openssl-nio-443-exec-5 connector.webservices.v2.RequestOrchestratorV2:672 - Updated info map after operation rule post-processing: {issuccess=false, message=HUANGJJP - Invalid User ID.}