Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Need information on behavior of /completetask API.

Anurag
Regular Contributor
Regular Contributor

Hi Team,

We had a recent upgrade of our Saviynt instance from version 5.5.SP3.9 to 5.5.SP3.13.

Post upgrade the native API /completetask is showing different behavior.  For 2 related tasks generated for entitlement provision request we used to complete them 1 at a time, but after the upgrade we can not complete these tasks individually.

Anurag_0-1678345204931.png

We have 2 related tasks as shown in above screenshot with taskids - 5156, 5157.

when I try to complete parent task or child task through API I get below errors. 

Anurag_1-1678345321670.png

Anurag_2-1678345382050.png

Has something changed in /completetask API after version 5.5SP3.9?

 Thanks

1 REPLY 1

Darshanjain
Saviynt Employee
Saviynt Employee

Hi @Anurag 

If you want to complete the task one by one, Use the Api Complete single task with passing only taskid. ( Check postman doc )

https://documenter.getpostman.com/view/1797923/2s83mbojGM#ad5ae9a4-c7f0-4cd1-b934-73b2968b925c

If you want to use bulk complete task - then you would need to give parent and child task to get it completed, it will expect all the corresponding tasks need to be closed.

 

Thanks

Darshan