Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
VMware vRealize Orchestrator Cookbook. - Second Edition

You're reading from  VMware vRealize Orchestrator Cookbook. - Second Edition

Product type Book
Published in Nov 2016
Publisher Packt
ISBN-13 9781786462787
Pages 556 pages
Edition 2nd Edition
Languages
Author (1):
Daniel Langenhan Daniel Langenhan
Profile icon Daniel Langenhan

Table of Contents (19) Chapters

VMware vRealize Orchestrator Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Installing and Configuring Orchestrator 2. Optimizing Orchestrator Configuration 3. Distributed Design 4. Programming Skills 5. Visual Programming 6. Advanced Programming 7. Interacting with Orchestrator 8. Better Workflows and Optimized Working 9. Essential Plugins 10. Built-in Plugins 11. Additional Plugins 12. Working with vSphere 13. Working with vRealize Automation

Using asynchronous workflows


A workflow executes its elements along its path one after another. Using asynchronous workflow execution, we can change this behavior and actually execute workflows in parallel.

Getting ready

We will need to build a new workflow.

For the first example, we will reuse the sleep workflow as well as the getNow action we created in the recipe Waiting tasks in this chapter. (06.04.01 Sleep and the com.packtpub.Orchestrator-Cookbook2ndEdition.helpers module in the example pack).

How to do it...

We will see two examples to demonstrate the asynchronous feature.

The first example

Here are some basics:

  1. Create a new workflow and create the following variables:

    Name

    Type

    Section

    Use

    sleepTime

    Number

    IN

    It defines the time the workflow should sleep

    wfToken

    WorkflowToken

    Attribute

    The workflow token of the asynchronous workflow

  2. Drag an Asynchronous workflow task into the schema.

  3. When prompted, enter the name of the sleep workflow we have created in the recipe...

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 €14.99/month. Cancel anytime}