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

Working with locks


There are two types of locks in Orchestrator: Workflow Locking and LockingSystem. We will learn how to lock and unlock objects using both mechanisms.

Getting ready

For Workflow Locking, we need a workflow that we can use to lock, primarily, a workflow that calls other actions or workflows. If you don't have one at hand, use the example workflow 3.15.1 Using Asynchronous Workflows – First.

For LockingSystem, we need a resource, such as a VM or an Orchestrator resource.

How to do it...

We will have a quick look at Workflow Locking before we address the locking system in the There's more section.

Locking workflows

To lock a workflow, action, or package, follow these steps:

  1. Right-click on a workflow, action, or package.

  2. Navigate to Locking | Lock or Locking | Lock with dependencies. Lock with dependency will lock all subworkflows and subactions that are used in this workflow.

Notice the little lock icon on the item you have locked; you will no longer be able to edit this workflow....