Automation: Configure activity retry in graphical runbooks
Опубликовано 23 ноября 2015 г.
For graphical runbooks in Azure Automation in the Preview portal, you can now configure an activity to retry until some conditions are met. This feature enables scenarios such as retrying an operation until a desired result is returned, or making calls to a service until an certain status is received. When you configure the retry behavior on an activity, you can set the retry exit conditions and any delay between retries. When the exit conditions are met, the retry cycle is completed and the activity finishes. Currently, the retry exit conditions are configured using a PowerShell expression and the special $RetryData object that contains the data for each retry attempt. We give common examples of expressions that you can copy and paste to simplify the creation of the exit conditions.