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.
Hi ManishJain, I added a Set Variable in the Apple Each section and that fixed my issue. Thank you!
Hi @adilnaj ,
Have you set degree of concurrency to the top Apply to each (parent to do until loop) . If yes then setting variable inside the concurrent loops will not work for you . You need to use compose action.
Thanks
WarrenBelz
146,635
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional