VMware vRealize Orchestrator Cookbook - Second Edition by Langenhan Daniel

VMware vRealize Orchestrator Cookbook - Second Edition by Langenhan Daniel

Author:Langenhan, Daniel [Langenhan, Daniel]
Language: eng
Format: azw3, mobi
Publisher: Packt Publishing
Published: 2016-11-10T16:00:00+00:00


See also

See the example workflow 06.03 Creating actions and the getElementFromArray action.

See Changing elements in a workflow in Chapter 4, Programming Skills.

Waiting tasks

This is a recipe that will make you wait for it...

Getting ready

We need a new workflow and time!

How to do it...

There are two different kinds of wait tasks, tasks that wait for a duration and tasks that wait for a specific date and time until they proceed.

Creating a help task

We need to create an action to help us track time. It will just log the current date and time. The action already exists in the action folder com.packtpub.Orchestrator-Cookbook2ndEdition.helpers:

Create a new action and call it getNow. There is no need to define any in- or out-parameters.

In the script section, place the following script: var current = new Date(); System.log(current);



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.