Hello,
I have an automated work flow that triggers when a certain products are invoiced in Dynamics 365 CRM, a corresponding number of custom "assignment code" records are created.
The workflow works if there is only 1 quantity associated with an invoice, but when there's more than 1 product, the Do Until condition isn't met so the Do Until flow continues to create custom assignment code records until it hits the limit.
In other words:
x# of Product Y Invoiced = Create x# of Custom Assignment Code Records
The workflows works when there with only one product sold/invoiced. When there is more than one (corporate), then the Do Until Quantity Condition is never met, so it creates codes until the Limits are reached.
Here is the Flow:



Everything works fine until we reach the bottom right - the Do Until condition. Here is it zoomed in:

I appreciate your help. Thank you.