Book Image

VMware vRealize Orchestrator Cookbook

By : Daniel Langenhan
Book Image

VMware vRealize Orchestrator Cookbook

By: Daniel Langenhan

Overview of this book

Table of Contents (15 chapters)
VMware vRealize Orchestrator Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Changing elements in a workflow


In this recipe, we will have a closer look at the challenges that changing the workflow elements in a schema pose. Changing the in- and out-parameters as well as moving or renaming actions will be discussed. You will learn how to make these changes as well as what to avoid.

Getting ready

We need a workflow that has an additional workflow as well as an action in its schema.

You can use the example workflows 5.02.1 and 5.02.2 as well as its action chapter5ChangeMe.

How to do it...

There are only two major tasks: changing the parameters and renaming/moving the actions.

Changing the parameters of workflows and actions

If you change a subworkflow's in/out-parameters, you will need to synchronize its parameters by following these steps:

  1. Make sure that you have a workflow that has a workflow as an element in its schema. You can use the example workflows 5.2.1 subworkflow and 5.2.2 Main-workflow.

  2. In the subworkflow, change the name of an out-parameter and add another in-parameter...