Assignment rejected if all reject

Hello,

Is there a way to reject an assignment if ALL users reject and not any of them?

Best regards,
Tadej