conditional flow validation and execution