Community

How to export the total exported pages count per batch?

we can see every  Batch shows total number of pages processed, and exported. How to export total  no of  Exported pages count per batch? 

Was this article helpful?

0 out of 0 found this helpful

Comments

4 comments

  • Avatar
    Adrian Enders

    You can export the number of pages in a batch using built-in configuration by adding a service field to the document definition and selecting "Batch pages count" as its source. 

     

    0
  • Avatar
    Manisha Shanmugam

    Thanks for your solution.  It is for total Number of pages in Batch. In that batch assume  20 pages 10 are processed and exported .10 pages went exception. can't we export only the exported page count as 10 successful cases?

    0
  • Avatar
    Adrian Enders

    Export is document level, not batch level. (Unless you add a custom script) If there are 10 documents in a batch, when the first document exports you do not know if the second document was successful.

    If you put a custom script after export, you might be able to check the "IsExported" property of the Document object to see if the document exported. This is document level, not page level.

    There is a sample script on this web page under the "Export Handler" section that does close to what you are asking. I am not sure where ABBYY intended this script be located.

    The API has a property on a batch called "ExportedDocumentsCount". You can get information on the API here. That isn't "pages", but after exporting you could compare the number of documents in a batch to the number of documents exported.

     

    0
  • Avatar
    Kalyani Bajaj

    Hi, 

    you have a document stage check for each document, and have some calculations like if Total pages are 20 and if 10 are in processed stage then you get a count of 10 pages missing/not exported.  

    0

Please sign in to leave a comment.