How I can achieve voting behavior different for same Activity on basis of path

Hello Guys,

Please suggest me . How I can achieve voting behavior different for same Activity on basis of path ?

I want to achieve voting behavior different for Review Activity .

 (1).if workflow move to proto activity from Review through  Approve path then need all vote.

  (2).if workflow move to Design activity from Review through  Reject  path then need only any one single vote

How can I achieve  above two point?  Please suggest me.

Thank in Advance