Heparin will not allow clotting while the blood is flowing or as it goes inside our tissue. Heparin works in the body. Upon the cut or wound, obviously the we are losing blood and the platelets are secreting the clotting factors & proteins involved in the clotting, due to which clotting is initiated.
Our blood will not clot in the body, while it is within the capillaries, as long as there is no injury. That's the role of Heparin.