Bosch???? Going straight to clean

Bought a second hand Bosch dishwasher and at first it was working great. Then it wasn’t getting any water at start up. Replaced inlet control valve then it wasn’t draining. Replaced drainage pum. Now it’s back to running a short cycle. No water. And then going to clean. Please advise fix