How do I update an input form?

Purpose

Use this procedure to configure the UI form for executing the workflow.

The required input is configured in the workflow’s YAML definition; see What does a workflow look like?. For example, the workflow may require a username to be entered.

When the workflow is manually executed, the Create Execution form has two panels: General and Input and Parameters. The input form defines the appearance of the fields in the Input and Parameters panel. For example, the input form defines the width of the username field, and whether the field for the next parameter appears on a new line in the form. You can use the JSON schema to create form properties such as lists, choices, and fields with autocomplete.

Tip: You can add or change the form input of a workflow in either DRAFT or PUBLISHED status.

Steps
 

Open Workflows, Workflows.


Double-click on a workflow.


Choose Input Form from the Info drop-down list.


Choose a task from the following options.

  1. To update the input form manually, enter JSON or YAML details in the editor and click UPDATE INPUT FORM.

  2. To auto-generate JSON, click AUTO GENERATE UI. Click OK to confirm.

    The input form is auto-generated. The auto-generated form overwrites any existing form input.

  3. To import JSON, click png20.pngImport JSON from Filesystem at the top of the screen. Navigate to the file you want and click Open.

    The JSON details appear in a JSON form. Click UPDATE INPUT FORM.

The input form is updated in the workflow.

End of steps