Skip to main content
Answer

Backup specific subclients with workflow

  • January 26, 2023
  • 5 replies
  • 232 views

Forum|alt.badge.img+5

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

Best answer by Scott Moseman


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

5 replies

Scott Moseman
Vaulter
Forum|alt.badge.img+19

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

Thanks,
Scott


Forum|alt.badge.img+5
  • Author
  • Byte
  • January 26, 2023

Hi Scott,

yes, of course, here it is.

BR
Jan
 


Scott Moseman
Vaulter
Forum|alt.badge.img+19
  • Vaulter
  • Answer
  • January 26, 2023


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


Forum|alt.badge.img+5
  • Author
  • Byte
  • January 27, 2023

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


Scott Moseman
Vaulter
Forum|alt.badge.img+19

Awesome, I’m glad you got it going!

Thanks,
Scott