whirlpool side by, no water to icemaker

Replaced the icemaker/water dispenser Water inlet valve kit - AP3160649 because water stopped feeding the ice maker. Have same problem. I moved the water dispenser wires to the icemaker side, pushed the water dispenser lever and water filled the tray:). Once the ice is made, it is dumped:) but it doesn’t fill up the tray again:(. It appears that when the ice is made and dumped something isn’t telling the icemaker water valve to open and fill the tray:(. Any ideas:confused:.