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

Question

Question

How can I make workflow read all documents in a repository?

asked on November 10, 2015

Hi, sorry if this is a very basic question, I create a workflow to erase generated pages of documents minus 3...

 

I proved it in  a test environment and works nice but it was just a folder with a lot of files, when I run this in production where we have a tree of folders, Find Entry send a message of "x"folder do not have any entries...

 

I want it to read all documents event if they are in folder/folder/file ..

 

Cnn I do this? and how? Thank you in advance....

0 0

Replies

replied on November 10, 2015

If you would like to pull up all documents in the repository you can use the Search Repository activity. For the Search Repository activity you can use the following phrase to search:

{LF:Name="*", Type="DB"}

You would then need a For Each Entry activity to iterate through all the entries that were found in the Search Repository activity.

1 0
replied on November 10, 2015

I did it but what if I got 3 repositories in the same server? I must especify {LF:Name"REPOSITORY1", ... ??? 

Or it is an aditional parameter?

0 0
replied on November 11, 2015 Show version history

Jorge,

You need to add a 'Search Repository' activity for each repository and assign the right 'Connection profile'  to each 'Search Repository' activity accordingly. E.g. Screenshot below has two Search Repository activities and I have them bound to individual Connection profiles.

 

0 0
replied on November 11, 2015

Thanks to both. Cristobal Guerrero you answer return 328,000 documents, so it right, Uzair, thanks for the answers, in fact I just need to test the Search to see it only returns docs of one of the repositories, of course because my connection profile was only to that repository...

 

Still when I run the workflow send no entry message...

primera.png
segunda.png
tercera.png
primera.png (9.93 KB)
segunda.png (8.1 KB)
tercera.png (8.66 KB)
0 0
replied on November 11, 2015

Thanks to both. Cristobal Guerrero you answer return 328,000 documents, so it right, Uzair, thanks for the answers, in fact I just need to test the Search to see it only returns docs of one of the repositories, of course because my connection profile was only to that repository...

 

Still when I run the workflow send no entry message...

replied on November 11, 2015

Thanks to both. Cristobal Guerrero you answer return 328,000 documents, so it right, Uzair, thanks for the answers, in fact I just need to test the Search to see it only returns docs of one of the repositories, of course because my connection profile was only to that repository...

 

Still when I run the workflow send no entry message...

replied on November 11, 2015

Thanks to both. Cristobal Guerrero you answer return 328,000 documents, so it right, Uzair, thanks for the answers, in fact I just need to test the Search to see it only returns docs of one of the repositories, of course because my connection profile was only to that repository...

 

Still when I run the workflow send no entry message...

replied on November 11, 2015

Thanks to both. Cristobal Guerrero you answer return 328,000 documents, so it right, Uzair, thanks for the answers, in fact I just need to test the Search to see it only returns docs of one of the repositories, of course because my connection profile was only to that repository...

 

Still when I run the workflow send no entry message...

You are not allowed to follow up in this post.

Sign in to reply to this post.