Error in SplitBatch during file move

Hello,

I’ve created a batch structure with the following logic, in Datacap 9.0.1:

Batch
– Cover_Page
– MainDoc
— Main_Page
— Sub_Doc
— Sub_Main_Page
— Sub_Other_Page
– Blank_page

Now, the batch can have several Cover_Page’s, and associated docs under them. I need to split the batch every time Datacap finds a Cover_Page. In pageid.xml, I can see that the structure is correct and the batchSplit variables are correctly allocated.

The problem is during the Profiler task profile, when it actually splits the batch. I’m getting the following error:

20:27:21.281 SplitBatch on value: ‘SplitCounter’
20:27:21.281 SplitBatch processing 8 pages or docs
20:27:21.281 DCSmart Metaword sArgument: SplitCounter
20:27:21.281 Smart Parameter return value: ”
20:27:21.281 Page or document value: SplitCounter
20:27:21.281 DCSmart Metaword sArgument: SplitCounter
20:27:21.281 Smart Parameter return value: ”
20:27:21.281 Page or document value: SplitCounter
20:27:21.281 DCSmart Metaword sArgument: SplitCounter
20:27:21.281 Smart Parameter return value: ”
20:27:21.281 Page or document value: SplitCounter
20:27:21.281 DCSmart Metaword sArgument: SplitCounter
20:27:21.281 Smart Parameter return value: ”
20:27:21.281 Page or document value: SplitCounter
20:27:21.281 DCSmart Metaword sArgument: SplitCounter
20:27:21.281 Smart Parameter return value: ”
20:27:21.281 Page or document value: SplitCounter
20:27:21.281 SplitBatch process subbatch 0 SplitCounter
20:27:21.281 Child # 0 raising condition 0
20:27:21.281 DCSmart Metaword sArgument: SplitCounter
20:27:21.281 Smart Parameter return value: ”
20:27:21.281 Page/Doc 1 SplitCounter = SplitCounter, add to child batch 01
20:27:21.281 DCSmart Metaword sArgument: SplitCounter
20:27:21.281 Smart Parameter return value: ”
20:27:21.281 Page/Doc 2 SplitCounter = SplitCounter, add to child batch 01
20:27:21.281 DCSmart Metaword sArgument: SplitCounter
20:27:21.281 Smart Parameter return value: ”
20:27:21.281 Page/Doc 3 SplitCounter = SplitCounter, add to child batch 01
20:27:21.281 DCSmart Metaword sArgument: SplitCounter
20:27:21.281 Smart Parameter return value: ”
20:27:21.281 Page/Doc 4 SplitCounter = SplitCounter, add to child batch 01
20:27:21.281 Move \serverDatacapAPP_AB_2batches20170130.0021tm000001.tif to \serverDatacapAPP_AB_2batches20170130.0021.01
20:27:21.281 Insert page ID: TM000001 ImageName: \serverDatacapAPP_AB_2batches20170130.0021.01tm000001.tif
20:27:21.297 DCSmart Metaword sArgument: SplitCounter
20:27:21.297 Smart Parameter return value: ”
20:27:21.297 Page/Doc 5 SplitCounter = SplitCounter, add to child batch 01
20:27:21.297 Insert DOC ID 20170130.0021.01.01
20:27:21.297 Move \serverDatacapAPP_AB_2batches20170130.0021tm000002.tif to \serverDatacapAPP_AB_2batches20170130.0021.01
20:27:21.297 Insert page ID: TM000002 ImageName: \serverDatacapAPP_AB_2batches20170130.0021.01tm000002.tif
20:27:21.297 Move to \serverDatacapAPP_AB_2batches20170130.0021.01
20:27:21.297 *** Error moving ***
20:27:21.297

****************************************
* ERROR! – MoveFile
* DESCRIPTION: Invalid procedure call or argument
* NUMERIC ID: 5
* SOURCE: Microsoft VBScript runtime error
****************************************

20:27:21.297 Error on SplitAPage 1 from Doc 4
20:27:21.297 DCSmart Metaword sArgument: SplitCounter
20:27:21.297 Smart Parameter return value: ”

I can’t find any problem in the application logic and the log isn’t very clear to me. Is there any limitation by having documents inside documents (the Sub_Doc ids look like “20170130.0021.01.-02”)? Does anyone have any idea?

Thank you!

Related:

Leave a Reply