selected variable launches a task

Bradley Bush
Mega Sage

Hi,

I have a workflow that needs a task to launch when a certain variable(select box) is selected. I have tried the "wait for" and "if" but the end result is the task that has the variable in it has to be closed first. The task must remain open and a new task is generated when the variable is selected and the opened task is saved or updated. 

question.JPG

1 ACCEPTED SOLUTION

Brad Bowman
Kilo Patron
Kilo Patron

Use the wait for activity, and put it on a parallel path with the Catalog Task.  You can use a Branch activity, but that's really just for readability - all you really need is two paths coming out of the previous activity - one going to the Catalog Task, and the other going to the Wait For activity.  Each activity in these paths will do whatever comes next in that path (generating the new Catalog Task after the wait for) then use a Join activity to wait for both paths to reach it before moving on to the next step, if that's what you want to do.  So in the simplest form:

BradBowman_0-1699397965392.png

 

View solution in original post

1 REPLY 1

Brad Bowman
Kilo Patron
Kilo Patron

Use the wait for activity, and put it on a parallel path with the Catalog Task.  You can use a Branch activity, but that's really just for readability - all you really need is two paths coming out of the previous activity - one going to the Catalog Task, and the other going to the Wait For activity.  Each activity in these paths will do whatever comes next in that path (generating the new Catalog Task after the wait for) then use a Join activity to wait for both paths to reach it before moving on to the next step, if that's what you want to do.  So in the simplest form:

BradBowman_0-1699397965392.png