Yes, a ductless mini split system can work when it rains. The outdoor unit of the system is designed to be weather-resistant and able to withstand normal precipitation. However, if there is a heavy storm or flooding, it is best to turn off the system to prevent potential damage. It is also recommended to keep the outdoor unit as protected as possible from heavy rain.