You can use the vRealize Orchestrator Client to create, edit, and delete action scripts.

You can use the following runtimes when creating actions:

  • Python 3.7
  • Node.js 14
  • PowerCLI 11/Powershell 6.2
  • PowerCLI 12.3.0/Powershell 7.1
    Note: The PowerCLI runtime includes PowerShell and the following modules: VMware.PowerCLI, PowerNSX, PowervRA.

Prerequisites

Before creating a Python, Node.js, or PowerShell script, verify that you are familiar with the core concepts for developing vRealize Orchestrator compatible scripts that use these runtimes. See Core Concepts for Python, Node.js, and PowerShell Scripts.

Procedure

  1. Log in to the vRealize Orchestrator Client.
  2. Navigate to Library > Actions.
  3. Click New Action.
  4. On the General tab, enter the name and module name of the action.
    Note: The name and module name must be unique for every action. The action name must be a valid JavaScript function. The action name must be a single word that can only contain letters, numbers, and the dollar ("$") and underscore ("_") symbols. The module name must consist of words separated by the dot (".") character.
  5. (Optional) Create a description, version number, tags, and group permissions for the action.
  6. On the Script tab, add action inputs, select the return type of the output, and write the script.
  7. To finish editing the action, click Save.
    A message states that the action is saved.