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

Question

Question

For Each Connection Profile in a workflow

asked on November 2, 2018

We have a client that has a workflow that cleans out empty LF folders from a repository.  They currently have 39 repositories and he would like to run that workflow on all the repositories without having 39 separate workflows.  I was thinking of a for each activity that would let us run the activities for one connection profile, then when that finishes run them for the next profile.  That would pass the current connection profile down to the search repository activities within the current iteration of the for each loop. 

 

Here is a copy of their workflow, it does the activity 5 times to make sure it got all the empty folders.  

0 0

Replies

replied on November 2, 2018

No, activities can't change connection profiles at runtime.

0 0
replied on November 2, 2018

So they would need a separate workflow for each repository?  Could the create the activities without a connection profile and then have each workflow call the "activities workflow" and pass its connection profile?

0 0
replied on November 5, 2018

Yes, they would need a workflow per repository. No, you can't inject a connection profile into an invoked workflow.

0 0
replied on November 5, 2018

Thanks Miruna, I will let them know.

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

Sign in to reply to this post.