Hi arkiboys,
Thank you for posting query in Microsoft Q&A Platform.
During your last iteration, before
if activity, you'reuntil flagvalue is setting totrue. And as perIf activityexpression, your condition will evaluate to false during last iteration. Hence execution ofIf activitywill not go insiderTrue block. To avoid it, useif activitybefore until flagset variable activity.
Hope this helps. Please let me know if any further queries.
Please consider hitting Accept Answer button. Accepted answers help community as well. Thank you.