I am a very beginner with workflows and I am facing my first problem:
I want to run a backup for all subclients for a specific client beside a subclient “test” via workflow.
So in this example at the beginning of that workflow I manually choose a client.
This client has serveral subclients (e.g. “data1”, “data2” and “test”).
The discover of DataAgent, BackupSet and all Subclients works fine, but with which activity in the Workflow Designer can I exclude the pattern “test” in the list of subclients?
I’ve tried the “RemoveFromList” but without any success (or maybe I used it the wrong way).
Do you have a clue?
Best answer by Scott MosemanView original
Are you willing to share the workflow so I can import it in my lab?
yes, of course, here it is.
Your workflow action RemoveFromList is out of context and not doing what you expect.
Your input is not actually a List. It’s expecting a List created by the AddToList action.
You might see if you can loop through the Subclient output to create a List, and then loop through that List for kicking off the backup jobs.
thx, I tried this, now it works.
I take the output of Subclient, add it to a list (by AddToList) and then remove the item (by RemoveFromList). Last step is to create a ForEach Loop in which I start a backup for each subclient.
Awesome, I’m glad you got it going!