Do not assume a machine is safe because its exterior has dried. Floodwater can reach electrical parts and leave contamination or damage that is not visible from the front.
Understanding this situation
The depth, type of water and whether the supply was on are relevant facts for a professional assessment. Running an empty cycle is not a safe method of proving that affected components have dried or that insulation remains sound.
A useful next step
Keep the machine isolated where safe and follow qualified advice before reuse. Tell the repair team about the flood explicitly, even if the current symptom seems minor. Do not remove panels or use heaters inside the cabinet to accelerate drying.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.