Hi I'm John I will help you with the problem.
Doe it drain some of the water or no please.
Send me the model number so I may assist you better.
The water pump number 325 can be clogged by debris , you can disconnect the drain under the sink and check that connection for a clog , If no clog at the drain connection put the drain hose in a bucket on the floor to drain the water out then you can check the water pump.
You have to check the water pump under the d/w it could be clogged up by debris .
Remove the bottom front panel you will see the pump to the right.
This is the water pump to the right of the main motor.