We should create simple custom verication tool.
It is clear, how to get a task, retreive document body, images and how to close task and change document stage.
BUT...we do not know how to propagate changed field values from our verification back to abbyy flexi capture server.
Can anybody provide some info or code samples?
Thank you!
Dusan
It is clear, how to get a task, retreive document body, images and how to close task and change document stage.
BUT...we do not know how to propagate changed field values from our verification back to abbyy flexi capture server.
Can anybody provide some info or code samples?
Thank you!
Dusan
コメント
6件のコメント
There is a code sample of a post request for sending document body back to server in the help file, but i couldn't manage to make it work properly, seems like theres an error.
What is the version of FlexiCapture you are using?
we able to upload documentbody back to server without any errors.
uploaded file on server have updated values from our verification station.
What we don't know what to do next....
As I understand we should send task to stage Verification Postprocessing, but we have some troubles doing that...
web stations are enabled
After this you should dispose such variables as Task,Batch Project and session by closing them.
In order to close the obtained task in a correct way you have to specify stage type that corresponds to postprocessing stage which is 510:
//CloseTask( int sessionId, int taskId, int stageType );
service.CloseTask(sessionId, taskId,510);
Idealy after doing so the batch should be first routed to postprocessing where field values are supposed to be updated according to modified d0cument body and then to the next stage.
there are some necessary requests which should be called BEFORE service.CloseTask
1. Action: Save DocumentBody
2. Action: Save VerificationRequest
3. ServerAction.aspx Action: CheckErrorsForBatch
4. Action: Load DocumentBody
After listed named above data is stored to server and you can close the task with session.CloseTask
Many thanks for your support!
Hi Dusan,
Could you provide me the code which you had written to implement the verification station using web API. I am also trying to do the same but unable to get succeed.
Thanks in advance..
サインインしてコメントを残してください。