Really need more info on dishwasher, make and model etc. If machine fills with water then just steams it sounds as though the wash pump is not running. Could be just a faulty capacitor for the motor. If above is correct the machine should run to the end of prog and drain out but just not clean anything.
Kenjo
April 2012