How to configure multiple conditional logic