In Orchestrator, looping can be configured for any runbook. By using loops, you can build automatic retries and monitor at any location in a runbook.

For additional help, please refer to the on-line documentation for System Center 2012 - Orchestrator.

Configuring Looping

Use the following procedure to configure looping.

To configure looping

  1. Right-click an activity in your runbook, and then click Looping to open the Looping Properties dialog box.

  2. On the General tab click Enable.

  3. In the Delay between attempts box, type the number of seconds to delay looping.

Exit and Do Not Exit Tabs

With Orchestrator, you can configure conditions for exiting the loop.

The Exit tab specifies the conditions that determine whether the loop exits. The Do Not Exit tab specifies the conditions that cause the loop to continue.

Important
The rules on the Do Not Exit tab supersede the rules on the Exit tab.

The rules within each tab are joined by using an Or condition. Only one of the conditions on a tab must be true for the entire tab to be true.

Use the following procedure to add or remove an Exit condition.

To add an exit condition

  1. From the Looping Properties dialog box, select either the Exit tab or Do Not Exit tab, and then select the condition listed in the box or click Add to add a condition.

    Important
    To change the values that make up the rule, you need to select each underlined portion of the link condition.
  2. Click the listed activity in the condition to open the Published Data dialog box.

  3. Check the Show common Published Data box.

  4. From the Name column, select a name that begins with Loop such as Loop: Enabled.

    Click OK.

  5. To change the result in the link condition, click the published result that is underlined, such as success to open the Results dialog box.

    You can select the success, warning, or failed result.

  6. Click Finish.

To remove an exit condition

  1. From the Looping Properties dialog box, select either the Exit tab or Do Not Exit tab.

  2. To highlight the condition you want to remove, click to the right of the link condition with the word Or, and then click Remove.

  3. Click Finish.