Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/05/2024 05:40 AM
Hi,
I'm using the REST connector to provision Update User tasks to a target system. The problem is that even if the update fails, the provisioning task is always marked as Completed and will not stay in Pending tasks.
The target application always responds with HTTP status code 200 so I'm using the following config to determine if the task was processed successfully:
"successResponses": {
"d[0].status": ["OK"]
},
"unsuccessResponses": {
"d[0].status": ["ERROR"]
},
I think Saviynt is able to read the status field from the response because if it fails, I can see the following in application logs:
07/05/2024 06:33 AM - edited 07/05/2024 01:29 PM
If it fails then it should mark as Error state and moved to completed state.
You can find number of times it tried in arstasks table.
select taskkey,PROVISIONINGTRIES from arstasks
07/05/2024 12:44 PM
@Sampo it will try until get response from target 20 tries after that it will move completed task sucess /faliure/error it functionality
you can check under security system level No of tried is defined .
Security system-> Number of tries for provisioning-> it will allow 1-20 triggers only.