Solved

Backup specific subclients with workflow

  • 26 January 2023
  • 5 replies
  • 144 views

Badge +3

Hi,

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?

BR

icon

Best answer by Scott Moseman 26 January 2023, 19:56

View original

5 replies

Userlevel 6
Badge +18

Are you willing to share the workflow so I can import it in my lab?

Thanks,
Scott

Badge +3

Hi Scott,

yes, of course, here it is.

BR
Jan
 

Userlevel 6
Badge +18


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.

Thanks,
Scott

Badge +3

Hi Scott,

 

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.

 

 

BR
Jan

Userlevel 6
Badge +18

Awesome, I’m glad you got it going!

Thanks,
Scott

Reply