I want to add a custom when condition, please help me

It’s so late, but I hope this will help you.