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.
- 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.
- In Automation Assembler, create or edit a cloud template.
- In the code editor, click the Inputs tab, and New Cloud Template Input.
- 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.
- After adding the action inputs, create another new cloud template input, click the type, click External source, and click Select.
- In Action, search for and select the Automation Orchestrator action that you created, and click Save.
When deploying the cloud template, the Automation Orchestrator action settings appear in the input form for the requesting user.
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.
- 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.
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.
- In Automation Orchestrator, create an action that maps the values that you want for the list.
- In Automation Assembler, when adding the cloud template input, expand More Options.
- 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.