Skip to end of metadata
Go to start of metadata

During adding a component to the form or process, a window containing the basic description of the component is displayed as well as the parameter fields which have to be completed. These fields can be of different types to facilitate work and, depending on that, they have different functionalities. They have two working modes:

  • edit mode - active after clicking on the field, allows to introduce a value
  • preview mode - displays the current field value, allows to go to the edit mode or delete the value with one click

 

Ways of transferring values

  • Constant value
    Constant value is entered directly from the keyboard into the field in edit mode.

 

  • Process variable
    You can enter the process variable after ealier entering the "$" character or using the button on the right of the field. A list is displayed that allows to filter the results. It is possible to navigate with the help of the arrows, the selection you confirm by the ENTER key.

 

After selecting the variable the parameter value is presented in the label form, which allows to delete the selected value by clicking the "x" or editing by clicking on the label.

 

  • Function
    Function can be entered into the field after entering the "#" character or using the button on the right of the field. A table is displayed with available functions that allows filtering results. It is possible to navigate with the help of the arrows, the selection is confirmed by the ENTER key.

 

 

 

After selecting the function, a window of function parameters appears, which have to be completed in the same way.

 

Parameters types

Type: Basic types

Basic types allow to enter fixed values, process variables or functions that calculate the parameter value based on their own parameters. Entering variables or functions can be done directly in the field in edit mode or through the buttons placed on the right. There are following basic types:

  • text value
  • total value
  • decimal value
  • date value
  • date value with time
  • logical value

The basic type field will accept a variable provided it holds the same type value! Similarly with functions - if you want to use them, it must return the same type!
Sometimes you need to transfer a value whose type is different from the target type. You can change the type by using conversion functions, for example toFloat, toString, and more in the subject: Available functions.

Type: Function

Function type has only value in the function form.

Type: Variable

Variable type has only value in variable form.

 

Tabular field

The tabular field allows to enter any number of values. It consists of the same multifunctional fields. Subsequent fields can be added or removed using the buttons on the right of the field.

In a table field element, you can specify both a table variable, a header variable and a function that returns table or a single value.

If in the parameter you give, eg.: 2 table elements (eg two tabular variables), they will be flattened (summed up) to one table. Suppose you transfer to the parameter a table variable with values ["a", "b"], header variable with the value "c" and the next table variable with values ["d", "e"] then in the component this parameter will be summed value ["a", "b", "c", "d", "e"].

 

 

 

Preview of values 

Depending on the selected value, the corresponding preview is displayed. Navy blue - variable, green - function, gray - fixed value.

 

 

  • No labels