Community

Use web service to get result before workflow proceed Answered

Hi,

I have referred "Application Programming Interface (API) > Examples of API Use > Processing Multiple Documents in One Batch" to get the xml result.

In the sample, it is wait for GetBatchPercentCompleted becomes 100 and load the xml.

I have a advanced workflow as belowno verification)

1.Import

2.Recognized

3.Export

4.Custom script stage

5.Export 2(this stage export web service xml)

6.Custom script stage 2(export searchable pdf, this will spend much time, but it is just save file in local disk and not use in my web service application)

7.Proceed

It seems the GetBatchPercentCompleted will be 100 when the stage end in Proceed.

My problem is how can I load the result when the stage is Export 2. I don't want to wait the batch is proceed, I want to get ocr result early. Is there can detect the stage status in FlexiCaptureWebServiceApiVersion3 library?

Or, there is another method can get ocr raw-data after recognize stage, it will better than get result in xml after export stage.

Thanks! Any suggestion is appreciated.

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Permanently deleted user

    Hello,

    You may create in your workflow the new stage for example of “Batch Integrity Check” type, then catch tasks on this stage by GetTaskByStageId() method, extract the recognized information from the documents and then send these tasks to the further stages (export), already having the OCR result.

    0

Please sign in to leave a comment.