Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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: SetterZadanie automatyczneWykonanie warunkoweParametry komponentów

Panel
titlePodstawowe informacje

ID komponentu w PWFL: table-store-set-items-dual

Kategoria: TableStore

Dostępne od wersji: 1.0.

X

110

Panel
titleOpis

Komponent umożliwia modyfikacje danych obiektu TableStore w określonych przez warunek rekordach.

Panel
titleParametry konfiguracyjne
Nazwa parametruOd wersjiOpisTyp parametruWartość domyślnaRodzaj pola

Uwagi i ograniczenia

TableStore*1.0.X110Zmienna przechowująca obiekt TableStore, który jest modyfikowany poprzez zmianę istniejących rekordówZmienna Pole edytowalne 
Identyfikatory pól*1.0.X110Tablica identyfikatorów pól wchodzących w skład obiektu TableStore.Tablica wartości tekstowych Pole edytowalne 
Wartości pól*1.0.X110Tablica 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.

Warunek1.0.X110Decyduje 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
titleZmienne kontekstowe
Nazwa zmiennej kontekstowejTypOpis
Id wiersza (iteracja)CałkowityPrzechowuje indeks aktualnie analizowanego przez komponent rekordu. Komponent zmienia wartość zmiennej kontekstowej, w momencie przejścia do kolejnego rekordu. Indeks pierwszego rekordu wynosi 0.
Panel
titlePrzykładowa konfiguracja
 
Panel
titlePrzykład zastosowania

Przykład działania na podstawie powyższej konfiguracji.

Początkowy TableStore:

Wynik:

 

Panel
titleChange log

 1.0.X110

  • Dodanie komponentu
Hide If
special@anonymous

Powiązane zadania

English

← Return to the list of available setters

← Return to the list of available applications 

Info

If you have trouble understanding how the action works, check the descriptions: Application, Setter, Conditional execution, Component parameters

Panel
titleBasic information

Category: TableStore

Available from version: 1.0.

X

110

Panel
titleDescription

The component enables the modification of the TableStore object data in the records specified by the condition.

Panel
titleConfiguration parameters
Name of the parameterFrom versionDescriptionParameter typeDefault valueField typeNotes and restrictions
TableStore*1.0.X110Variable that holds the TableStore object that is modified by changing existing records.Variable Editable field 
Field identifiers*1.0.X110The table of identifiers of the fields that are part of the TableStore object.Text value array Editable field 
Field values*1.0.X110An 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.

Condition1.0.X110Decides to change the record. The record will be modified if this parameter is met (it will return true).Function Editable fieldThe 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
titleContext variables

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
titleSample configuration

Panel
titleExample of use

 An example of operation based on the above configuration.

Initial TableStore:

Result:

 

Panel
titleChange log

 1.0.X110

  • Adding component