Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
VMware vRealize Orchestrator Cookbook

You're reading from   VMware vRealize Orchestrator Cookbook Master the configuration, programming, and interaction of plugins with Orchestrator to efficiently automate your VMware infrastructure

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781784392246
Length 382 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Daniel Langenhan Daniel Langenhan
Author Profile Icon Daniel Langenhan
Daniel Langenhan
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Installing and Configuring Orchestrator FREE CHAPTER 2. Optimizing Orchestrator Configuration 3. Visual Programming 4. Working with Plugins 5. Basic Orchestrator Operations 6. Advanced Operations 7. Working with VMware Infrastructure 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image