Validation

Validation of the scenario executes a scenario which is currently loaded in a viewer. It can be done in Browse or Design view. User can select from a drop-down menu how input arguments are provide. There three forms:

  • Auto – the system sets automatically default input values

  • Form – a form popup allows to set input values manually

  • Inline – input values are defined in a JSON format

Auto

A default option is Auto, which provides scenario with values dependently on the type defined in the Start node of the scenario. A table below lists default system values used in Auto mode.

Type of input variable
Default value

string

"Lorem ipsum"

double

1

integer

1

map

["a": 1, "b": 2, "c": 3, "d": "Lorem ipsum"]

vector

[1, 2, 3, "Lorem ipsum"]

bool

true

Form

When Form option is selected, validation process starts with a pop-up window with a form containing all input variables, which needs to be filled manually. If some variables are defined as optional, they can be left unset, but they will be set to default system values as in Auto mode. Required variables have to be filled.

Inline

In Inline mode, variables can be set in a JSON format in a small single-line text input. If some variables are defined as optional, they can be left unset, but they will be set to default system values as in Auto mode. Required variables have to be filled.

Last updated