The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Create multiple tasks based Yes/No or Checkbox variables

dustinjones
Tera Expert

I am trying to create a Catalog Item that has 4 yes/no or checkboxes that indicate who this particular ticket effects. If yes then generate a ticket to that group. My problem is multiple variables can be yes and my flow stops once the first if is evaluated as true. Each yes/no represents a different group that a Task will need to be assigned to if yes is selected. Screenshot attached.

 

Thanks for help in advance

 

 

1 ACCEPTED SOLUTION

dustinjones
Tera Expert

Was able to solve this by putting all the if statements within "Do the following in parallel" flow statement and it worked as I needed. No other changes needed. Issue was once the if was processed as true is waited until the task was completed before moving on to the next.

View solution in original post

3 REPLIES 3

Sandeep Rajput
Tera Patron
Tera Patron

@dustinjones Create a sub-flow with a boolean input parameter with the following steps. 

 

SandeepRajput_0-1684259503492.png

In If condition compare the value of subflow input parameter with yes.

 

Simply call this subflow inside your main flow multiple times and set value of subflow input from step 2 (GetCatalogVariables)of main flow each time with a different variable value.

 

This will ensure that appropriate tasks are generated for each of the variable which was set to true.

 

Hope this helps.

 

@Sandeep Rajput Thanks for the reply. I am having trouble following what you mean. I haven't created a subflow before so I am sure I am missing something simple. I only see Type array.boolen and I am not sure how to configure.

dustinjones
Tera Expert

Was able to solve this by putting all the if statements within "Do the following in parallel" flow statement and it worked as I needed. No other changes needed. Issue was once the if was processed as true is waited until the task was completed before moving on to the next.