Explore more
...
Scenarios
Scenario inputs and scenario o...
Create the structure of scenario inputs or outputs
1min
before using {{scenario singular lowercase}} inputs or {{scenario singular lowercase}} outputs, you need to define their structure when creating the {{scenario singular lowercase}} input structure, you can set any parameter as required, which allows you to validate the structure of the input data you can also add a description to each input parameter to document the data the parameter contains you can add {{scenario singular lowercase}} inputs and outputs anytime in the {{scenario singular lowercase}} editor, click the {{scenario singular lowercase}} inputs and outputs icon select the scenario inputs or scenario outputs tab and click add item enter a value in the name field this field is mandatory you can't use spaces or special characters in the name you can use letters, numbers, and the underscore symbol you can only start with a letter or underscore in the type field, select the data type of the item from the dropdown menu if you use the type select , add options for the dropdown selection in the options field if you use the type array , set the type of the array items in the nested type field if you use the type collection , you can set the structure of the collection in the specification field {{product name}} validates the input data against the specification if you keep the specification empty, {{product name}} will accept any collection for the input data if you use the type dynamic collection , you can map a collection or a json string to the output field the return output module parses the json and returns it as output bundles you can use the create json module to create a custom data output optional in the description field, add information about the input or output item for example, how is the item used in the {{scenario singular lowercase}} or what information the item contains optional in the default field, enter the default value that is used if the value is missing in the original input under required , select whether this input is required or not to start your {{scenario singular lowercase}} if you have required inputs, your {{scenario singular lowercase}} scheduling type must be on demand for more information, see the schedule a scenario docid\ scpfttwgfapf077ujo1jh article under multi line , select how you want your text to be displayed if you selected text , array , collection or json as the item data type selecting yes shows multiple lines of text selecting no shows only one line of text repeat the process if you need to add more items click save in the scenario inputs box and save your {{scenario singular lowercase}} you can use the {{scenario singular lowercase}} inputs and outputs as mappable values in your {{scenario singular lowercase}} you can find them under the variables tab in the mapping dialog to use {{scenario singular lowercase}} outputs, you need to add the scenarios > return output module check the next section