[Abhi/Deepthi] Added if_params to allow conditional check with params