How to determine if a do until loop ran up to the configured limit

Mike Lee 247 Reputation points
2023-07-04T14:32:33.5833333+00:00

I've configured a Do Until Loop with a limit of 100. Normally this loop should not run more than 15 times. The limit of 100 is there as a safeguard.

Does anyone know if within the Logic App itself if it's possible to check how many iterations the Do Until loop ran? I'd like to alert myself if the loop ran up to the 100 limit.

Thanks,

Mike

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
{count} votes

Accepted answer
  1. Sedat SALMAN 14,180 Reputation points MVP
    2023-07-04T14:58:45.19+00:00

    there is no default mechanism

    you can add a variable and count the number of iterations

    and you can either add a if condition that if that number reaches 100 you can raise an alert

    but there is no default mechanism

    you can follow the following links

    https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-control-flow-loops


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.