Customer has an issue where some documents were processed and have a duplicate name they would like to merge all the documents with the same file name I.E. v000478592and v000478592 (2). They both use the same template. I know I can search for the entries but how would I get them to merge using the move pages?
Question
Question
Replies
Hi James,
When using Move Pages there's an option to Delete the document you're moving the pages from. So you'd probably want to create a Workflow which searches for all documents with a "(2)" , checks to make sure there's an original document with that name, and then Moves all pages from the duplicate to the original and deletes the duplicate.
The only issues is sometimes it has split a 20 page document into 20 different files and they all need to be merge what would me search look like and how would I accomplish the merge to the original file.
If there's more than one duplicate you could find them all by using a Search Repository activity for the name of the original document, and then in a For Each Entry loop use the Move Pages activity to move all pages from the duplicate to the original. In Workflow 10 you can sort all documents found with a search activity, so you should be able to get them all in order.
Depending on how your repository is set up and how the duplicates are created you might need to narrow down the search more by metadata or folder location.