Wait for condition for multiple tasks

Bogdan18
Tera Guru

Hello everyone,

I have an workflow with multiple layers of tasks and I have a problem with one of the wait for conditions. What happens is that I open 5 tasks at some point in the workflow and one of these 5 tasks when it gets closed it will open another task. The first 4 tasks are all going into an wait for condition so that the workflow doesn't end if and when on these 4 are closed. The 5th task is opening another task when it gets closed. This other task goes into the same wait for condition.

If the 5th task is being closed before the other ones then everything goes fine, the other task is being opened and then when the other tasks are closed the workflow closes out successfully.

If I close the first 4 tasks and then I close the 5th one the tasks associated with the 5th one gets opened but automatically is set on Closed Incomplete and the workflow ends.

Any idea how can I fix this behavior?

find_real_file.png

 

 

Thanks,

Bogdan

 

 

1 ACCEPTED SOLUTION

Mark Stanger
Giga Sage

Try a single 'Join' activity in place of your 2 'Wait for' activities you have currently.  It will cause the workflow to wait for all paths into it to complete before the workflow continues on. Your 'Wait for' activities shouldn't be necessary with a 'Join'.  Just make sure all of your task activities have their own 'Wait for completion' option selected.

View solution in original post

13 REPLIES 13

arielgritti
Mega Sage

Hello

Did you try with only one "Wait" condition for all the tasks?

 

Please, mark correct or useful if i helped you

Thanks

Ariel

Hello,

 

Yes, I already tried with just one wait for condition the second one I put in there just to test things out.

 

Thanks,

Bogdan

Mark Stanger
Giga Sage

Try a single 'Join' activity in place of your 2 'Wait for' activities you have currently.  It will cause the workflow to wait for all paths into it to complete before the workflow continues on. Your 'Wait for' activities shouldn't be necessary with a 'Join'.  Just make sure all of your task activities have their own 'Wait for completion' option selected.

Hi Mark,

 

Thanks a lot for the suggestions. It worked just great.

 

Many thanks once more,

Bogdan