Most normal water isn't all that conductive, but any sediment left from drying could cause problems. If they can be gotten to before they dry, then a rinse out or two with distilled water followed by an alcohol rinse to help get rid of any remaining water and they should work OK.
. IDK what would happen if water got into the gelled electrolyte batteries thru a vent or something. I wouldn't think other components would allow water in unless it got pretty deep to develop some pressure. Probably for personal use I'd try to rehab them with new battery(ies), etc., but for corporate use, I'd have them replaced if the insurance covered such. In future, locate your UPSes up off the floor (e.g. on plastic shelving) so they won't be susceptible to minor flooding. I'd also call the UPS mfr. to see what they recommend to do in the case of minor flooding - of course they'd want you to buy more of their UPSes so that has to be taken into conderation in evaluating their answer. In any case, getting the flood water out of them and rinsing before allowing the flood water to dry inside them would go a long way toward any possible recovery of some of them.
.bh.