Do-until looping in logic apps
vrijdag 14 augustus 2015
Logic apps started out with Foreach loops so you could iterate over an array of items and run an action for each item in that list. Today, Do-until loops and some other options give you more control:
- You can use a Do...until loop to repeat an action until a certain condition is met. For example, if you are deploying an Azure Resource Manager template, you can have a Do...until loop that checks the status of the deployment until the status equals 'Succeeded'.
- You can set a limit on how long the Do...until lasts.
- A native Wait action doesn't require the creation of an API app. This supports all of the capabilities of the Wait API app directly in the logic app's language.
- You can override the HTTP 202 async pattern that the engine uses. This is useful for "fire-and-forget" scenarios where you want to dispatch an HTTP call and do not care about the response.