How to make many catalog tasks and wait for all to finish before ending the workflow?

Magali Legaspi
Tera Contributor

Hello everyone!

 

I'm having this problem. I made this workflow, what I need to do is depending on the variables selected on the form, a catalog task will be created. But what's happening is, once one of the tasks is closed, it'll end the whole workflow. What I need is, if two or more variables are selected (if more than one IF is true), it'll create the catalog tasks and they all have to be finished, after that it has to end.

 

question workflow.JPG

 

Hope anyone can give me a hand with this.

 

Thanks in advance!

5 REPLIES 5

Mike_R
Kilo Patron
Kilo Patron

Connect them to a Join, and then have the Join connect to the set value. Having the Join should wait for all of the tasks to join before setting the value.

Example:

Mike_R_0-1666624383214.png

 

Hello Mike! Thanks for your response.

 

What's happening now is I'm testing it with two variables selected, I mark one of the tasks complete, and when I mark the second one complete it bugs and changes to closed incomplete. 
I don't know if the problem is, not all of this catalog tasks will be completed, maybe on the form they'll select 2 variables and the third will be unselected, could that be the problem?

Can you post a screenshot of your updated workflow?

Yes. I tried this now, I deleted the Incomplete option on the Join activity. But now once the two catalog tasks on top are completed, the workflow won't go on to set values as complete. Because the third catalog task is not triggered. I need to set the values complete once each desired task is completed.

PREGUNTAaaaa.JPG