You are viewing limited content. For full access, please sign in.

Question

Question

Run a workflow process on all pages in a document

asked on May 7, 2014 Show version history

I am attempting to run a workflow on a 25 page document.  Each page of the document is a timesheet for a different user.  The workflow uses pattern matching to extract the employee name out of each page of the document.  I need the workflow to parse the 25 page document into individual pages, extract the name from each page with pattern matching, create tokens based on first name/last name, then rename each individual page and move them into a folder.  

 

I have the pattern match testing fine.  The renaming and moving of the files is something I am very comfortable with.  What I am not clear on is what I need to do to make Workflow see that one 25 page document as 25 individual documents.  Does that make sense?

 

 

 

Thanks in advance.

0 0

Answers

APPROVED ANSWER
replied on May 7, 2014

What you need to do is repeat, for each page, the creation of a new document, then moving the page from this document to the one you just made. It should look something like this:

 

1 0
SELECTED ANSWER
replied on May 7, 2014

Oh I see now.   There are going to be hundreds of these files so this is going to be a big help.  I will have to do a little tweaking but I believe this is what I need.  Thanks a ton!

 
Paul
0 0

Replies

replied on May 12, 2014

Hi Paul,

 

It looks like Matt's response answered your question! If it did, please click the "This answered my question" button on his post.

 

If you still need assistance with this matter, just update this thread. Thanks!

0 0
replied on May 14, 2014

1. Create your own "Iterator" Token

2. Get your OCR Text as Multi-Value Token

3. Use First For Each Value Loop to get Last Page Number and save in "iterator"

4. Use Second For Each Value Loop to start moving Pages out of Batch from Last Page using Iterator moving backwards to zero pages left

 

If you move backward through document, you can move all pages.  If you move forward through document, you will get error half way through as the starting entry is being modified as you move through it (Pages are being removed).  Working backward, you can move pages and starting entry still has those pages left over until your finished with second for each loop.

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.