Image Added
Polish |
---|
← Powrót do listy dostępnych setterów ← Powrót do listy dostępnych zadań automatycznych Jeśli masz problem ze zrozumieniem jak działa setter/zadanie automatyczne, sprawdź opisy: Setter, Zadanie automatyczne, Wykonanie warunkowe, Parametry komponentów Panel |
---|
title | Podstawowe informacje |
---|
| ID komponentu w PWFL: table-store-set-items-dualKategoria: TableStoreDostępne od wersji: 1.0.X110 |
Panel |
---|
| Komponent umożliwia modyfikacje danych obiektu TableStore w określonych przez warunek rekordach. |
Panel |
---|
title | Parametry konfiguracyjne |
---|
| Nazwa parametru | Od wersji | Opis | Typ parametru | Wartość domyślna | Rodzaj pola | Uwagi i ograniczenia |
---|
TableStore* | 1.0.X110 | Zmienna przechowująca obiekt TableStore, który jest modyfikowany poprzez zmianę istniejących rekordów | Zmienna | | Pole edytowalne | | Identyfikatory pól* | 1.0.X110 | Tablica identyfikatorów pól wchodzących w skład obiektu TableStore. | Tablica wartości tekstowych | | Pole edytowalne | | Wartości pól* | 1.0.X110 | Tablica wartości odpowiadających identyfikatorom pól. | Tablica funkcji | | Pole edytowalne | Funkcje użyte w parametrze mogą zwracać tylko wartości tekstowe. Wartości tekstowe, w zależności od przechowywanych typów danych pól, zostaną przekonwertowane na wartości odpowiednich typów kolumn. Można odnieść się do zmiennej kontekstowej Id wiersza (iteracja), aby móc ustawiać różne wartości dla kolejnych rekordów. | Warunek | 1.0.X110 | Decyduje o wprowadzeniu zmiany w rekordzie. Rekord zostanie zmodyfikowany, jeśli ten parametr zostanie spełniony (zwróci true). | Funkcja | | Pole edytowalne | Funkcja użyta w parametrze może zwracać tylko wartość logiczną. Można odnieść się do zmiennej kontekstowej Id wiersza (iteracja), aby w różny sposób traktować rekordy obiektu TableStore. Parametr jest opcjonalny. Jeśli pozostanie pusty, to warunek będzie spełniony dla każdego rekordu. |
Parametr*- pole wymagane |
Panel |
---|
| Nazwa zmiennej kontekstowej | Typ | Opis |
---|
Id wiersza (iteracja) | Całkowity | Przechowuje indeks aktualnie analizowanego przez komponent rekordu. Komponent zmienia wartość zmiennej kontekstowej, w momencie przejścia do kolejnego rekordu. |
|
Indeks pierwszego rekordu wynosi 0. |
|
Panel |
---|
title | Przykładowa konfiguracja |
---|
|  |
Panel |
---|
title | Przykład zastosowania |
---|
| Przykład działania na podstawie powyższej konfiguracji. Początkowy TableStore: 
Wynik: 
|
|
English |
---|
← Return to the list of available setters ← Return to the list of available applications Panel |
---|
| Category: TableStoreAvailable from version: 1.0.X110 |
Panel |
---|
| The component enables the modification of the TableStore object data in the records specified by the condition. |
Panel |
---|
title | Configuration parameters |
---|
| Name of the parameter | From version | Description | Parameter type | Default value | Field type | Notes and restrictions |
---|
TableStore* | 1.0.X110 | Variable that holds the TableStore object that is modified by changing existing records. | Variable | | Editable field | | Field identifiers* | 1.0.X110 | The table of identifiers of the fields that are part of the TableStore object. | Text value array | | Editable field | | Field values* | 1.0.X110 | An array of values corresponding to field identifiers. | Function array | | Editable field | Functions used in this parameter can only return text values. The text values, depending on the field data types stored, will be converted to the values of the corresponding column types. It is possible to refer to the context variable Row Index (iteration) to be able to set different values for successive records. | Condition | 1.0.X110 | Decides to change the record. The record will be modified if this parameter is met (it will return true). | Function | | Editable field | The function used in this parameter can only return a logical value. It is possible to refer to the context variable Row Index (iteration) to treat TableStore records differently. The parameter is optional. If left blank, the condition will be true for each record. |
Parameter*- required field |
Panel |
---|
| The name of the contextual variable | Type | Description |
---|
Row index (iteration) | Integer | Stores the index of the record currently being analyzed by the component. The component changes the value of the context variable when it moves to the next record. |
|
The index of the first record is 0. |
|
Panel |
---|
title | Sample configuration |
---|
| 
|
Panel |
---|
| An example of operation based on the above configuration. Initial TableStore: 
Result: 
|
|
Parametr przyjmuje tylko wartości tekstowe. Wartości tekstowe, w zależności od przechowywanych typów danych pól, zostaną przekonwertowane na wartości odpowiednich typów kolumn.