Skip to main content

Hello!

I’m invoking a processing form through API, and all the process is executed correctly, but, how can I know when a record is processed with errors?

I’m trying to get the processing result to know what records have been processed and what records have raised errors…

 

 

Is there a reason you are executing process all and not just triggering the action for the records one by one? From what I’ve seen so far, executing ‘Process All’ is usually not required.


Hello Dmitrii, 

I have created a custom processing form, where I write some data in the document, and when I click on the Process or Process All buttons, creates new documents or displays an error if there is any.

 

 


I have created a custom processing form, where I write some data in the document, and when I click on the Process or Process All buttons, creates new documents or displays an error if there is any.

204 response is not designed to return detailed information.  As a workaround, I would say persist success or failure information on to same documents (say in Message field) you processed and make second call to retrieve these documents so that you know which one were successful and which ones resulted in error. e.g.

Endpoint definition -

API calls -

POST ~/entity/DefaultExt/20.200.001/ReleaseBatches/ProcessAll

Use Location header to wait for process to complete

GET POST ~/entity/DefaultExt/20.200.001/ReleaseBatches?$expand=Batches

My 2 cents...


Reply