My Products
Help
Anonymous
Not applicable

API response - InProcess

by Anonymous

Hello

 

When getting a result back that is InProcess. Are we then confirmed it will be commited without an issue? Or should it exists an API to poll the actionResult for a duration?

 

Example

 

{
"actionId": "42c4a114-5d1d-4551-995d-8c8bb2e42c12",
"actionResult": "InProcess"
}

 

Shouldn't it exist an REST GET */action/42c4a114-5d1d-4551-995d-8c8bb2e42c12/  ?

 

 

1 REPLY 1
Accepted solution
Yıldırım
VISMA

by Yıldırım (Updated ‎30-04-2021 16:46 by Yıldırım VISMA )

Hello Patrik,
currently, we get an immediate response as "InProgress / InProcess" with all "release" operation exposed endpoints, due to release action is asynchronous. The process is started in the back end and response is sent back before the process is finished therefore we don't receive the status on whether the document is released/completed.

Since this is one of the most frequently requested improvements by the community, we have an improvement case in our backlog for "Creating a mechanism to execute API workloads as a long-running operation". Based on such logic e.g. Long Running Operation with Polling