Document separation settings

I put files into the input folder and I want to get a single file at the end, but I get 5 files.

Was this article helpful?

0 out of 0 found this helpful

Comments

4 comments

  • Avatar
    Vera Serova
    Jeff, in order to get 5 files assembled together, make sure you have the following workflow setting selected:
    - On the Input tab: Create a Job: For each folder (with a reasonable timeout) --> this will make sure all 5 files get into the same task.
    - On the Document separation tab: Create one document for each job --> the files in the task will be merged together.
    0
  • Avatar
    bongianu
    Can you clarify regarding what does "reasonable timeout" means? In this scenario, 1 input folder has 5 files so does this means 1 job or 5 job because output should be just 1 file ?
    0
  • Avatar
    Vera Serova
    You need to have all 5 files in one job in order for the program to be able to merge them together. The job is formed on timeout, and a reasonable timeout depends on your use case.

    For example, if you copy the 5 files in the input folder manually, that's a quick process, so you can set a relatively small timeout, e.g. 30 seconds. In this case Recognition Server will grab everything that's put in the folder within 30 seconds and make it one job.
    Another example would be if you do continuous scanning of 100-200 page batches into the input folder. In this case it make take a long time to scan a batch, so you'll want to set the timeout to 5 minutes, to make sure that the whole batch is imported as one job.

    In other words, the timeout should be such that all the necessary files get into the Input folder before the timeout is reached.

    0
  • Avatar
    Sushi
    Assuming you have XML tickets enable in your license, you can also go this route instead of configuring the time out setting. If you look in the Sample folder for Recognition Server, you can should find a folder named “XML Tickets.” In particular I’m looking at “Merge_and_rename_files.xml” All you need to do is edit the file as follows:
    1. Add all the entry for the attribute. i.e. you would have 5 entry for your this tag.
    2. Change the attribute to whatever you want or keep it default.
    3. Change the attribute to whatever you want or keep it default (MyDocument.pdf)
    the XML file in the input folder first, then drop in the individual files. The XML file will stay in the input folder until all the image files are in the input folder. The only advantage to this approach is that once all the files are in the input folder, it will process the files right away instead of waiting for the timeout period.
    Vera’s approach is actually simpler and more fool proof but just giving you another option =)
    0

Please sign in to leave a comment.