The dishwasher won't drain if the drain pump motor isn't working. Check the drain pump for defects using a multimeter. The drain pump should be replaced if the motor doesn't have continuity or if it won't run.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.