Assuming that your DS Writer is working, putting the Boolean indicator inside the while loop should fix your problem. With it outside, the indicator is only updated once when the while loop finishes.
Assuming that your DS Writer is working, putting the Boolean indicator inside the while loop should fix your problem. With it outside, the indicator is only updated once when the while loop finishes.