Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

This tab allows you to add action input parameters, i.e. fields that will be displayed in the "Action Properties" block, "Parameters" section.

To add a new parameter, click on the plus sign.

Image Added

In the window that opens, you must fill in the fields:

Image Added

  1. "Variable name" field. Mandatory field

This is the name of the variable that will be used in the action code to designate this input parameter. Once the changes made have been saved, it is the name of this variable that cannot be edited. The value in the code can be changed. If one name remains in the field and the code ends up with a different name, the action will generate an error.

Image Added

The parameter must also be specified in the action code.

Image Added

2. "Type" field. Mandatory field

This is the data type that the parameter must accept as input. You cannot load and use your own data types.

3. "Required value" field

If the checkbox = True, this parameter will be mandatory for the action.

The name for the parameter will be displayed in the Studio on the action properties panel.

Image Added

This field can be filled both in Russian and in English. The action cannot have more than two descriptions. Fields are required to specify the name of actions for different interface languages (Russian/English).

4. "Name of parameter" field

To add a new field for the name of the parameter you should press the "Add title" Image Added, to delete it you should press the "Delete title" кнопка-удаленияImage Added

5. "Parameter description" field

The description of the parameter, which will be displayed in the Studio in the action properties panel when hovering over the question mark next to the parameter.

Image Added

This field can be filled in both Russian and English. An action cannot have more than two descriptions. The fields are necessary to specify the name of actions for different interface languages (Russian/English).

To add a new field for the description of a parameter you should press the "Add description" Image Added, to delete it you should press the "Delete description" кнопка-удаленияImage Added.

Example of completed fields on the form:

Image Added

To create a drop-down list parameter, you need to specify the list elements by clicking the Image Added button. This button is only available when the parameter type is set to Robin.String.

Image Added

To create a list of values, a window will open. To add a new value, click the Plus button Image Added.

It is necessary to fill in the fields:

    1. Variable Value. Mandatory field. Name of the possible value of the parameter. This value will be used only in the action code.
    2. Display Name. Name of one of the possible parameters. This value will be displayed when the parameter list of the ready action is expanded.
    3. This field can be filled in both Russian and English. There should not be more than two descriptions for each value in the list. One value from the list cannot have more than two descriptions. The fields are necessary to specify the names of values located in the drop-down list for different interface languages (Russian/English).

To add a new field to describe a value in the list, click the "Add title" button Image Added. To delete a field click the кнопка-удаленияImage Added button.

Image Added

The code for the drop-down list action:

Image Added

Action parameters after its publication to the Studio:

Image Added