Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
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 (15) Chapters Close

VMware vRealize Orchestrator Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
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

Sending and waiting for custom events


This recipe will showcase how to send interactions between workflows. This is mostly used together with asynchronous workflows, which we will explain in the Using asynchronous workflows recipe in this chapter.

Getting ready

We need to be able to create two workflows.

We will reuse the action getNow that we created in the Waiting tasks recipe in this chapter (see the com.packtpub.Orchestrator-Cookbook module in the example pack).

How to do it...

This recipe requires us to create two workflows and then use them together.

Receiving a custom event

First, we create the receiving part:

  1. Create a new workflow using the setup shown in the following figure:

  2. Create the following variables:

    Name

    Type

    Section

    Use

    isExternalEvent

    Number

    Attribute

    Value: false

    This is a setting to indicate where Orchestrator has to listen to for the Event.

    eventName

    String

    IN

    This is a string that contains the event identifier.

    endDate

    Date

    IN

    The date/time until Orchestrator...

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 £13.99/month. Cancel anytime
Visually different images