I have a Logic App with an Until action to keep looping until a condition is met (in this case when the Azure Container Instance has the state 'Terminated'). I've changed the limit 'Count' to 600. I left the 'Timeout' on the default value (PT1H). Amongst other actions the Until action contains a Delay action which I've set to 1 second. So in theory the math would be: 600 x 1 sec = 10 minutes max. Right? I triggered the Logic App late in the afternoon and went home. Checked the run when I got home to find out it ran for 26 minutes! See screenshot:
So, can anyone explain this? Thanks in advance for replying.
Update #1: For Each info The For Each inside the Until loops through the Containers in the group (which is just 1 Container) and puts the state of the containers in the variable (which is used for the condition of the Until). That's it.
Update #2: All actions Logic App All the actions of the Logic App:
note: For the keen eyed, I'm indeed not deleting the container group yet. For debugging purposes.
Update #3: Initialize Variable info
note: This "state" is the state of the container group which is simply used to initially fill the variable. In the Until loop it's filled with state of the container instance inside the group.
Update #4: Get Properties in For Each
note: Asked in the chat.