implement not pattern in flow dsl