After you publish a taskflow, you can create a taskflow input and use it to run a taskflow for testing purposes. You can create multiple taskflow inputs and run a taskflow with all the inputs.
You can create a taskflow input in JSON or XML format. Then, validate and save the taskflow input.
When you export, copy, or move a taskflow that contains taskflow inputs, the taskflow inputs are retained.
On the
Explore
page, navigate to the taskflow for which you want to create a taskflow input.
From the
Actions
menu, select
Run Using
.
The
Test Taskflow Input Collection
page opens.
The following image shows the
Test Taskflow Input Collection
page:
Click
New Input
.
Enter a name for the taskflow input and click
Save
.
The name must not exceed 80 characters.
The
Taskflow Input
section is populated with the input fields required for the taskflow.
For the input fields with custom types, the fault and output parameters are added in the input payload and appear in the
Taskflow Input
section, by default. You must remove them manually for the taskflow input to be valid.
based on the format that you want to work with and specify the taskflow input.
If the taskflow contains input fields with space characters in them, select
JSON
as the encoding type.
Click the
Validate
icon to validate the syntax of the taskflow input.
A confirmation message appears stating if the validation was successful or not. If the validation fails, correct the syntax of the taskflow input and validate again.
Click
Save
to save the taskflow input.
You can click
Save As
to save the taskflow input with a different name. You can also click the
Reset
icon to reset a taskflow input to the last saved taskflow input.
After you create taskflow inputs, you can run the taskflow with the required inputs.