Want to Add "WAITING" query in default config but cannot seem to get it to work

I have tried the limited knowledge I have but I am not able to get anything to work. Any help is appreciated.