Using the Switch element in vRealize Orchestrator

vRealize Orchestrator (v6) contains a switch element that can be used to evaluate a series of values. In scripting and programming languages the switch construct is also named Case or Do Case.

For example if we want to check the status of a VM and there are three possible values then we would have to use three if statements or three decision elements to check what the status is.

if status = poweredOn 
if status = poweredOff 
if status = suspended 

vRealize Orchestrator workflow with approvals and timeout

This workflow demonstrates an approval process whre two approvers will have the opportunity to approve or deny a request and when both approvers don't respond within the time limit then the workflow will continue as if it was approved. So this will actively give the two approvers a time window to deny a request after which it is automatically approved. Is designed to use n AD group for approver 1 and another AD group for approver 2.

Various Orchestrator examples

This package contains several examples that I use in Orchestrator training.

download the package here (version February 2020) 

Import the package from the Packages-tab in the Orchestrator client.

What's in the package?

There are several workflows in this package that demonstrate the functionality of vRealize Orchestrator. Their purpose is to educate, comments are always welcome.

Execute an Orchestrator workflow from a REST client

In this article I explain how to execute a vRealize Orchestrator workflow by invoking a REST method from a REST client. 

Sources used for this article are How to use the REST API to Start a Workflow from vCOteam.info and the Orchestrator REST API documentation that you can find on your own Orchestrator server at this url: https://yourvcoserverFQDN:8281/vco/api/docs/index.html

Follow us on LinkedIn

  

   

   

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer