Routing plans can include limits on the number of times that a product can pass through a process.
This automatically guards against constant repair and re-test of the same item.