In an Automation Assembler template, Automation Orchestrator actions can be included as cloud template inputs.

Adding an Automation Orchestrator action to cloud template inputs

To use Automation Orchestrator actions as cloud template inputs, follow these guidelines.

  1. In the instance of Automation Orchestrator that is embedded with VMware Aria Automation, create an action that does what you want.

    The Automation Orchestrator action must only include primitive string, integer, number, and boolean types. Automation Orchestrator types are not supported.

    In this simple example, the Automation Orchestrator action collects three inputs and returns a hard-coded string.

    vRealize Orchestrator action script
  2. In Automation Assembler, create or edit a cloud template.
  3. In the code editor, click the Inputs tab, and New Cloud Template Input.
  4. To add the Automation Orchestrator action inputs, click the type, and click Constant.

    Separately add each Automation Orchestrator action input as a new cloud template input.

    Add an action input
  5. After adding the action inputs, create another new cloud template input, click the type, click External source, and click Select.
    Add the external source
  6. In Action, search for and select the Automation Orchestrator action that you created, and click Save.
    Search for an action

    When deploying the cloud template, the Automation Orchestrator action settings appear in the input form for the requesting user.

    Action settings in the input form

Configurable defaults

To populate the input form with default values, do one of the following when adding the Automation Orchestrator action as the external source.

  • Manually supply the default property value.

    Clear the Bind option, and enter the value.

    Manual default
  • Use another property value from the inputs already in the cloud template.

    Select the Bind option, and select a property from the drop-down list.

    Bound default

Adding Automation Orchestrator enumerated input selections

To create an Automation Orchestrator based selection list in an input form, do the following when adding to the cloud template inputs.

  1. In Automation Orchestrator, create an action that maps the values that you want for the list.
  2. In Automation Assembler, when adding the cloud template input, expand More Options.
  3. For Pairs, click External source, click Select, and add the Automation Orchestrator action that you created.
    Note: If you also create a default value when adding the property, that default must exactly match one of the enumerated values from the Automation Orchestrator action.
    How to add an enumerated selection list