Chapter 6. Advanced Programming

In this chapter, we are aiming at improving your programming skills. We will look at the following recipes:

  • JavaScript complex variables
  • Working with JSON
  • JavaScript special statements
  • Turning strings into objects
  • Working with the API
  • Creating actions
  • Waiting tasks
  • Sending and waiting for custom events
  • Using asynchronous workflows
  • Scripting with workflow tokens
  • Working with user interactions


JavaScript is the scripting language that Orchestrator is based on. Learning JavaScript makes for a much-improved workflow build. JavaScript is especially useful in the creation of actions.


The JavaScript of Orchestrator doesn't have the same modules and functions you may find in other JavaScript implementations.

Cool stuff ...

Get VMware vRealize Orchestrator Cookbook - Second Edition 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.