Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying VMware vRealize Orchestrator Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
VMware vRealize Orchestrator Cookbook

VMware vRealize Orchestrator Cookbook

By : Langenhan
4.3 (10)
close
close
VMware vRealize Orchestrator Cookbook

VMware vRealize Orchestrator Cookbook

4.3 (10)
By: Langenhan

Overview of this book

If you are a VMware administrator who is interested in automating your infrastructure, this book is for you. An understanding of basic programming concepts is advised. No previous knowledge of Orchestrator is required, although some previous knowledge of it will allow you to get started more easily.
Table of Contents (9 chapters)
close
close
8
Index

Working with loops


Here, we will explore how to create loops with Orchestrator. You will learn how to build loops and use them.

Getting ready

We just need a working Orchestrator, and you will need the rights to create new workflows and run them. We will work with the Orchestrator Client.

You need to understand how decisions are used in Orchestrator, as it was explained in the Working with decisions recipe.

For the For Each element, we will be reusing the workflow we created in the Workflow basics recipe in this chapter (3.01 in the example package).

How to do it...

There are several types of loops one can create, however they can all be reduced to the following two basic types of loops.

The decision loop

This basic kind of loop runs until a certain condition is met. We will build a so-called for loop in this example. A discussion about the different types of decision loops (for, do-while, and while-do) can be found in the How it works... section of this recipe.

  1. Create a new workflow and build the...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY