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

Question

Question

Workflow: create a subfolder for multiple folders

asked on October 31, 2014

Hi community, I was wondering if it is possible to use the workflow to create a folder withing an existing folder that already belongs to a tree, see example:

  • Main Folder
    • Student A
      • New Folder
    • Student B
      • New Folder
    • Student C
      • New Folder
    • ......

 

In the example I have the main folder and the student folders and i need to create the "new folder" in each student folder. How would I do this? I saw this helpful question:

https://answers.laserfiche.com/questions/65386/Help-Adding-a-Folder-to-Each-Employees-Folder

But  I am not sure if it applies to my problem. Any ideas?

0 0

Answer

SELECTED ANSWER
replied on October 31, 2014

If the individual student folders are at the same depth, directly under the main folder then you can build a workflow like the one pictured below.

The idea is to look for the student folders under the main folder, then iterate through each folder and create the new folder under each one (if it doesn't exist already - more as a precaution).

2 0

Replies

replied on November 3, 2014

Hi Alexander, thank you for your reply! I created the workflow and verified that all looks the same, however I am not sure if I should leave additional properties empty in the "Find Entries" part? Also I have never seen a workflow triggered of anything else but a document being created, changed or moved, in this case we simply want to run the workflow so it will create those folders within the main directory. Do you have any tips on how to setup the rules?

 

Thank you so much for your assistance!

Capture.PNG
Capture.PNG (33.82 KB)
0 0
replied on November 3, 2014

I actually answered my own question, so to make it run we usually did conditions, but you want to do Schedule instead so it will run at a certain time of a day or on a repeated schedule. It seems like my test worked, now I can apply this to a few thousand folders that my environment has.

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

Sign in to reply to this post.