Skip to main content

Automation: Configure activity retry in graphical runbooks

Published date: November 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. 
Activity Retry Configuration Activity Retry Configuration
 
  • Automation
  • Microsoft Azure portal
  • Features