# Adding an Input to the Workflow

An input is a value that users must enter when a workflow runs. If an input applies to a workflow the majority of times that the workflow runs, then consider using a configuration value instead of an input value. For information about configuration values, see Adding a Configuration Value.

You can define the following types of input:

- String

- Integer

- boolean

- Date

- Double

- Float

- Long

- Time

- Short

- Calendar

- Binary

- File

- <Other>, such as pre-defined CommCell entity types (for example, ClientEntity)

### Example: Add a String Input to Accept a Reason

The string input Reason allows users to enter a reason when the workflow runs.

1. Open the workflow properties.

2. On the Inputs tab, click Add.

   The Add workflow input dialog box appears.

3. In the Name box, enter Reason.

4. Leave the Value box empty.

   When the workflow runs, by default, the Reason input value is blank.

5. From the Type list, select String.

6. Click Save.

### Example: Add an Other Input Type to Select a CommCell Entity

The Other input ClientEntity allows users to select an entity when the workflow runs.

1. Open the workflow properties.

2. On the Inputs tab, click Add.

   The Add workflow input dialog box appears.

3. In the Name box, enter Client Entity.

4. Leave the Value box empty.

   When the workflow runs, by default, the Client Entity input value is blank.

5. Beside the Type list, click +.

   The Select Type dialog box appears.

6. Go to CvEntities, and then select ClientEntity.

7. Click OK.

8. Click Save.

×

Loading...