OnCommand Workflow Automation (WFA) user inputs are the data input options available during the execution of workflows. You must create user input parameters for your workflows to enhance the flexibility and usability of your workflows.
User inputs are shown as input fields, which can be filled with relevant data when previewing or executing workflows. You can create a user input field when specifying command details in a workflow by prefixing a label or variable with the dollar sign ($)—for example, $VolumeName creates a Volume Name user input field. WFA automatically populates the User Inputs tab in the Workflow <workflow name> window with the user input labels you have created. You can further define the type of the user input and customize the input fields by modifying the user input attributes such as type, display name, default values, and validation values.
You can use the following functions when using the query (multi-select) type of user input:
String is the default user input type for the column headers. You must double-click the Type column to specify a different user input type.
You can open the Create SnapMirror policy and rules workflow in the designer to see how the user input types are used in the "SnapMirroPolicyRule" user input.
You can use the following functions when using the table type of user input:
You can open the Create and configure a Storage Virtual Machine with Infinite Volume workflow in the designer to see how the table type is used.
Here, $password is the encrypted password that is passed by WFA to the command.
The following table lists the options that you can apply to the user input types:
Option | Description |
---|---|
Validating | You can validate the user inputs type so that only the allowed values are entered by users:
|
Locking values | You can lock the values of the query and enum types to prevent the user from overwriting the drop-down values and allow selection of only the displayed values. |
Marking as mandatory | You can mark user inputs as mandatory such that the users must enter certain user inputs to continue with the execution of the workflow. |
Grouping | You can group related user inputs and provide a name for the user input group. The groups can be expanded and collapsed in the user input dialog box. You can select a group to be expanded by default. |
Applying conditions | The conditional user input capability enables you to set the value of a user input based on the value entered for another user input. For example, in a workflow that configures the NAS protocol, you can specify the required user input for protocol as NFS to enable the "Read/Write host lists" user input. |