Flow designer: Close one task when another task meets a condition

kchorny
Tera Guru

I have a requirement as follows:

Flow should create two catalog tasks at the same time, each assigned to a different group. If one of the tasks gets assigned or closed, the other task should be closed automatically (both of the groups are capable of completing the task - whoever does so "wins").

How would you do this in Flow Designer? I know how to do it with a business rule, but want to keep it all within the flow.

Ideas would be appreciated!

4 REPLIES 4

kchorny
Tera Guru

Here's the solution I came up with, which seems to work as expected. "Wait" is not checked on either of the Create Catalog Task actions.

Alternative suggestions welcome!

find_real_file.png

OlaN
Giga Sage
Giga Sage

Hi,

So if both assignment groups starts working with their respective tasks, and only one of them can complete the work, then the work done by the other team is wasted.

Is that a scenario you want to endorse?

They should be accepting (assigning the task to themselves) before they start work. In which case, the other task will be closed. If they start work before accepting, then they aren't following established processes.

In that case I don't see the point in generating two tasks, since only one is needed/will be completed.

You could just create one task, don't assign that task to a group, then have the groups check for unassigned tasks, and assign it to themselves when they are ready to take on the work.