DW runs on and on, won't drain

My Gaggenau dishwasher cycles down to one minute then runs forever. There is still soapy water in the bed. Heater element seems to work. I bailed out water and it restarts at one minute and runs on and on. Thank you.

I would first check to see if the drain hose is plugged or kinked. If you can remove the drain hose from under the sink and run it into a large bucket to see if it’s drains.