machine runs but dishes not clean
A model number may help others help you.
Often this is dirty filters in the unit.
Clogged spray arm holes.
Low water fill due to a partially clogged screen filter on the input side of the water valve. Most units fill to just under the heating element. I do not know the level. During a cycle add a couple quarts of hot water after each fill. Be careful to not over flow the unit. If dishes now clean properly then the screen filter is probably dirty.
Low water temperature. Check that the water entering the unit is a minimum of 120 degrees F.
Check that the heating element is working.
If it is drying the dishes then the element is OK