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

Question

Question

Copy metadata from parent folder to documents in subfolders for multiple folders at once

asked on May 19, 2021

Hello!

 

I'm looking to create a catch up workflow that I can run once to copy metadata from the parent folder or subfolder to documents within the subfolders. I have attached the workflow I used to copy the metadata from the parent folder to the subfolder. 

If I wanted to use the current workflow I have, I would have to change the employee name at the find entry activity for each sequence. 

 

The file path for these are employee file\subfolder\documents. 

 

I'm a pretty new workflow user so all help is appreciated!

 

Copy Metadata sequence.JPG
0 0

Replies

replied on May 19, 2021

Create input parameters for those "dynamic" values so you can base your path off of token values instead of having the value hard-coded in every branch.

Then, in a parent workflow invoke this workflow for the employee and pass the dynamic values in as input parameters; that way this workflow is reusable and you only need to set the value once for each instance.

 

Additionally, if the copy metadata activities are all using the same settings, you could use a For Each Value loop to reuse those activities as well.

Just loop through each value and use Input + Current Value as the find entry path, and there you go, no need to hard code a separate branch for each.

Of course that wouldn't be parallel, but the performance difference between the loop and parallel for something like this would be negligible.

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

Sign in to reply to this post.