跳过导航

Automation: Configure activity retry in graphical runbooks

2015年11月23日

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
 

免费帐户

免费获得 $200 的 Azure 额度和 12 个月的常见服务使用权。

免费开始

Visual Studio

订阅者每年可获得高达 $1800 的 Azure 服务

立即激活

初创企业

加入 Microsoft 初创企业用户行列,获得免费的 Azure 服务

了解更多