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

You can use the following runtimes when creating actions:

  • Python 3.10
  • Node.js 20
  • PowerCLI 13 (PowerShell 7.4)
    Note: The PowerCLI runtime includes PowerShell and the following modules: VMware.PowerCLI, PowerNSX, PowervRA.
  • PowerShell 7.4
    Note: The PowerCLI 12 and Node.js 18 runtimes are deprecated and will be removed in a future release.

Prerequisites

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

Procedure

  1. Log in to the Automation 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.