How to do vote in multi task?

I want to do vote in multi task? after result choose next step. For example if vote result is less 50% it should go to finish or go to next step

You can specify completionCondition attribute of multi-instance when to complete the multi-instance and move to next state.

image