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

Question

Question

Workflow Merge Pages

asked on February 26, 2016

Thinking about creating a workflow that would look for all files matching in a field.  and merge all the files into the first.  Ordering is also important.

Ex:  Field DocType:  Family

      Field Order: 1

Each document with DocType Family would have an order number based on how the merge files should grab it.

 

I was trying to think of a way once the workflow grabs all files from the repository with Field DocType = Family,  returns the count found.  And run a repeat based on the Order field and files found values.

To clarify it would grab 1,  grab 2 and merge files into 1,  grab 3 merge files into 1, grab 4 marge files into 1...

until it broke the loop at the amount of files found from DocType field.

 

Any thoughts on how this may be possible?

0 0

Replies

replied on February 26, 2016

Search Repository allows you to specify the sort order in Workflow 9.2.1 and higher. Since it looks like you have a field for the order, it shouldn't be a problem. You wouldn't need a Repeat loop, For Each Entry can do it.

0 0
replied on March 2, 2016

Ok so when I use the Search Repository tool and pull the field,  it will already order the entries based on that field?

So the For Each Entry will grab them based on that order.

0 0
replied on March 2, 2016

Yes, you can specify which fields you want to retrieve and order by along with documents in Search Repository and Find Entries.

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

Sign in to reply to this post.