There is provided a method for controlling a flow of intestinal contents in the intestinal passageway of a patients intestines. The method comprises gently constricting (i.e., without substantially hampering the blood circulation in the intestinal tissue wall) at least one portion of the intestinal tissue wall to influence the flow in the intestinal passageway, and stimulating the constricted wall portion to cause contraction of the wall portion to further influence the flow in the intestinal passageway. The method can be used for restricting or stopping the flow in the intestinal passageway, or for actively moving the fluid in the intestinal passageway, with a low risk of injuring the intestines.