Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/03/2022 07:02 AM - last edited on 06/09/2022 10:05 AM by Dave
Hi ,
We have a SOAP Connector where we haven't configured any UpdateAccountJSON . We see UpdateAccount Tasks are created as part of updates to Dynamic Attribute . The Tasks are not closed and hence we have 2500+ in pending state . What is the best solution to close these Update Account Tasks .
But we have similar situation with a REST Connector (we haven't configured any UpdateAccountJSON) but the tasks are closed automatically.
Not sure if I am missing anything .Has anyone noticed this ? Any suggestions appreciated .
05/04/2022 04:50 AM
You can use /discontinueTask API
05/04/2022 06:53 AM
Could you please share more details . I haven't used the API .
Usually we use custom query job and set the status as 8 but it may not be available in future release .
05/04/2022 07:01 AM
Here's the Postman documentation Link
https://documenter.getpostman.com/view/1797923/TVsvi7G2?version=latest
Under Access Request > Tasks > Update Tasks, You can see two API that you can use as per your requirements.
/discontinueTask
/discontinueAllPendingTask
Regards,
Avinash Chhetri
05/04/2022 07:00 AM
Here is the API documentation, you will find details about discontinue tasks under Access Requests > Tasks > Update Tasks:
https://documenter.getpostman.com/view/1797923/RWaLwo21#d91059ee-0ebf-4cd0-8abe-215dfbacef30
05/04/2022 11:12 AM
if you don't have UpdateAccountJSON then do not store dynamic attribute values in accounts customproperty by which it will not create update account task & you dont need to do extra API work
05/04/2022 11:35 AM
Solution 1
Yeah I would go the route of not adding dynamic attributes as well, this just reduces complexity for you when you get to certifications as well. Its harder to defend to auditors why a task was closed without action or discontinued, it is better to not have the task create in first place.
Solution 2:-
Try just adding '{}' in Update account json it should just close the task in that case.
Solution 3:-
Even dummy Update account as posted above by using complete task or discontinue task api call.