How to implement a BPM with dynamic numbers of person envolved?

Hi,
I want a workflow in below way: several people agree on one thing, then flow end, otherwise, like parts of people agree, others no action, then nothing needs to do. Silimar like below:
%E6%97%A0%E6%A0%87%E9%A2%98

In above flow, there needs 4 people to take action, but my case can’t tell how many person need to take action, maybe 4, 3, or 2, or 1, depends on business logic.

How to implement this?
Thanks~

I managed to make it work using multi-instance attribute.