Chapter 6. Advanced vRO Scripting with JavaScript

In the previous chapter, we learned how to combine existing workflows to create new workflows. Before we can go ahead and delve into the advanced aspects of programming, we need to learn some JavaScript. Orchestrator is actually a JavaScript engine that has a massive visual component.

In this chapter, we will not only use an example workflow to learn JavaScript, but also expand the InstallFreshVM workflow that we created in the previous chapter.

This chapter will explore the following topics:

  • JavaScript – the very basics
  • How to use JavaScript in Orchestrator
  • The if-clause in JavaScript as well as operators and conditions
  • Creating and using actions

JavaScript – the very basics

JavaScript is a script language, ...

Get VMware vRealize Orchestrator Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.