Manage Input Parameters to Test an Automation
Input parameters are variables storing values, that allow you to pass data in the workflow of your automation.
In the following use case, the user must fill in the required values in the input parameters, to allow the testing of the automation.
Prerequisites
-
You have followed the procedure as described in Test an Automation.
-
You have created the automation A.
Use Case Example
-
In your project, create the data type Person.
For more information, see Create a Data Type.
-
In the data type Person, add a new field name of type string.
-
Select the field name.
-
In the Field Properties side panel, tick the Required box.
-
Enter a sample value.

-
-
In the workflow of automation A, drag and drop the control For Each.
-
Drag and drop automation B on the repeat branch.
-
In the I/O section, add the input parameter person and select the data type Person as type.

For every person in automation B, automation A will display the name in the debugger bar.
-
Click Test to test your automation.
A Test Automation window pops up.
-
Select an environment.

The visual editor displays the input parameters you have to fill in to properly execute your automation.
-
To add an element to the input parameter list, click .

As a result, the automation calls for the input parameter name to execute the testing.
-
Enter a value for the input parameter name.
-
To set the input parameters in JSON format, click Show JSON editor.

Now that you have filled in the values for the input parameters, the automation is ready for testing.
-
Click Test.