Split document whit barcode

  • 12K Views
  • Last Post 03 December 2018
Rosario Tumello posted this 15 November 2018

Hi everyone,

I would like to create a workflow that allows me to split documents when a different barcode is detected, for example, I would like to divide the following document on page 5 - 7 - 9 - 11 - 19 - 23

BARCODE01_P1=07080CT0000001331099

BARCODE01_P2=07080CT0000001331099

BARCODE01_P3=07080CT0000001331099

BARCODE01_P4=07080CT0000001331099

BARCODE01_P5=07080CT0000001331106

BARCODE01_P6=07080CT0000001331106

BARCODE01_P7=07080DS0000000110174

BARCODE01_P8=07080DS0000000110174

BARCODE01_P9=07080CT0000001331124

BARCODE01_P11=07080CT0000001331115

BARCODE01_P12=07080CT0000001331115

BARCODE01_P13=07080CT0000001331115

BARCODE01_P14=07080CT0000001331115

BARCODE01_P15=07080CT0000001331115

BARCODE01_P16=07080CT0000001331115

BARCODE01_P17=07080CT0000001331115

BARCODE01_P18=07080CT0000001331115

BARCODE01_P19=07080QS0000000041660

BARCODE01_P20=07080QS0000000041660

BARCODE01_P21=07080QS0000000041660

BARCODE01_P23=07080QS0000000041661

BARCODE01_P24=07080QS0000000041661

BARCODE01_P25=07080QS0000000041661

 

I think I have to do all this through a script but I could not find any reference. Can u help me?

 

Order By: Standard | Newest | Votes
luca.scarpati posted this 15 November 2018

Hi Rosario,

 

Yes, of course you can do it with the Script too. But for your simple case I suggest you create two workflows:

  - 1. Separates documents by barcode and append the pages just separated, so as to create different documents according to their filename (barcode value for example). To set up append you need to select an output profile without OCR and in the WFS you can see: 

 

  - 2. It takes the documents from the watchfolder (output folder of the previous step) and sends it wherever you want (any connector) in whatever format you select.

 

I think your case is very easy.

 

Good luck innocent.

 

Best regards,

Luca

Rosario Tumello posted this 15 November 2018

Ciao Luca,

I tested the workflow you suggested and works perfectly!!

Thanks

 

Best regards

Rosario

 

 

  • Liked by
  • luca.scarpati
Rosario Tumello posted this 15 November 2018

I'm interested on ScanShare script, where i can find reference on it? 

luca.scarpati posted this 15 November 2018

Ciao Rosario,

 

For the scripts you can take a look at the various user posts on the forum where they talk about them and you can take a look for them at the application manual: https://help.scanshare.com/scansharev4  (Server Application Manual -> Appendix -> Scripts).

 

Best regards,

Luca

Rosario Tumello posted this 03 December 2018

Ciao Luca,

I refer to the previous question, now I need to mantain the original file format but scanshare cannot support append options whit this output profile.

Can you help me with a script that split file when found a different barcode?

 

Best regards

luca.scarpati posted this 03 December 2018

Ciao Rosario,

 

what kind of format are you talking about?

As I suggested above, you can first setting an output profile that can append the documents (e.g. .tif, .pdf without OCR and ...) and then you should create another workflow that creates the output document like the one you have input (e.g. .pdf with OCR enabled).

I do not think the script is "good" for your purposes smile ...

 

Best regards,

Luca

Close