Versions Compared

Key

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

Image Added

 

Polish

  ← Powrót do listy dostępnych akcji

Info

Jeśli masz problem ze zrozumieniem jak działa akcja, sprawdź opisy: Akcja, Wykonanie warunkowe, Parametry komponentów

Panel
titlePodstawowe informacje

ID komponentu w PWFL: user-belongs-to-group-action

Kategoria:

Użytkownik

Attachment

Umiejscowienie akcji: Tabela

, Formularz

Dostępna od wersji: 1.0.

85

15

Zmiana wartości w komórce tabeli

Komponent służy do odczytywania informacji o dokumentach podłączonych do procesu (informacje ogólne np. nazwa dokumentu, komentarz, wersja oraz wartości wybranych indeksów). Odczytywane dane są zapisywane w zmiennych tabelarycznych. Istnieje możliwość przypisania stałych wartości dla każdego dokumentu.

Panel
titleOpis

Akcja, na podstawie podanego loginu, wyszukuje użytkownika, sprawdza czy użytkownik ten należy do jeden lub każdej z podanych grup i zapisuje zdefiniowaną informację o jego przynależności do podanej zmiennej.

Panel
titleWywołanie akcji
Warning

Pozostawienie pustego pola wykonania warunkowego jest jednoznaczne z ustawieniem go na "prawdę".

Umiejscowienie akcjiDziałanie parametru "Wykonanie warunkowe"Warunek wywołania akcji
TabelaUaktywnia akcję i wywołuje ją
Panel
titleParametry konfiguracyjne
Nazwa parametruOd wersjiOpisTyp parametruWartość domyślnaRodzaj polaUwagi i ograniczenia
LoginKolumna fileId*1.0.8515Zmienna tabelaryczna zawierająca loginy sprawdzanych użytkownikówokreślająca z którego dokumentu zostaną wczytane informacje.Zmienna tabelaryczna Pole edytowalne Lista 
grup*Klasa dokumentu1.0.85Zmienna tabelaryczna zawierająca listy grup, dla których wykonane ma zostać sprawdzenie, rozdzielone separatorem. Domyślnym separatorem jest przecinek.Zmienna tabelaryczna Pole edytowalneLista powinna wyglądać następująco (gdy "," jest separatorem): grupa1,grupa2,grupa3...
UWAGA! Spacje po separatorze nie są usuwane, więc jeżeli , jest separatorem, to lista "grupa1, grupa2, grupa3..." zwróci niepoprawny wynik.
Należy do wszystkich *1.0.85Określa czy w liście sprawdzanych grup mają się zawierać wszystkie grupy danego użytkownika, czy wystarczy jedna z jego grup.LogicznyNiePole edytowalne 
Wartość dla prawdy*1.0.85Wartość, która zostanie wpisana do zmiennej wynikowej w przypadku, gdy akcja zwróci prawdę.Tekstowy Pole edytowalne 
Wartość dla fałszu*1.0.85Wartość, która zostanie wpisana do zmiennej wynikowej w przypadku, gdy akcja zwróci fałsz.Tekstowy15Dostępne klasy dokumentów systemu.Tablica wartości tekstowych Lista wartości 
Indeks dokumentu1.0.15Indeksy dla wybranej klasy dokumentu.Tablica wartości tekstowych Lista wartości 
Parametr dokumentu1.0.15Parametry dostępne dla dokumentu.Tablica wartości tekstowych Lista wartości 
Stała wartość1.0.15Stała wartość dopisywana dla każdego znalezionego dokumentu.Tablica wartości tekstowych Pole edytowalne Zmienna 
wynikowa*Zmienna tabelaryczna1.0.8515Zmienna , w której zapisany zostanie wynik akcjizapisywane będą wyniki.Zmienna tabelarycznaTablica zmiennych Pole edytowalne 
Separator1.0.85Pozwala na zdefiniowanie własnego separatora, wykorzystywanego do rozdzielenia nazw grup w parametrze 'Lista grup'.Tekstowy, <przecinek>Pole edytowalne 
System nie odróżnia pustej kolumny (brak wierszy) od kolumny tekstowej z jednym wierszem z pustą wartością. W takim przypadku dla danej kolumny wartość będzie wpisana od 0 indeksu. Zaleca się aby tablica była pusta, lub w przypadku jednego wiersza miała wpisane wartości w kolumnach do których wstawiane są wyniki.

Parametr*- pole wymagane

Zadania związane z komponentem

Aktualne

Panel
titlePrzykładowa konfiguracja

Image RemovedImage Added

View file
nameTesty komponentów - akcje - [AKCJA] Sprawdzenie czy u ytkownik nale y do grup(y) 2020-09-04 09 17 04.zip
height250
Hide If
special@anonymous
JIRA
server192.168.1.52 JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-689

Archiwalne

 

 

English

← Return to the list of available actions  

Info

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

Panel
titleBasic information

Category:

User

Attachment

Action location: Table

, Form

Available from version: 1.0.

85

15

Panel
titleDescription

Action that searches for a user on the basis of the given login, checks whether the user belongs to one or each of the given groups and saves the defined information about it to the given variable.

Panel
titleAction execution
Warning

Leaving the conditional field blank is tantamount to setting it to "true."

Location of the actionOperation of the "Conditional execution" parameterCondition of calling the action
TableInitiating and executing actionTable cell change

The component is used to read information about documents attached to the process (general information, e.g. document name, comment, version and values of selected indexes). The read data are stored in tabular variables. You can assign constant values to each document.

Panel
titleConfiguration parameters
Name of the parameterFrom versionDescriptionParameter typeDefault valueField typeNotes and restrictions
UsernameFileId column*1.0.85Variable array containing usernames of users to check15Variable specifying from which document the information will be loaded.Variable array Editable field Groups list*
Document class1.0.85Variable array of group names lists, on which the check will be performed. The default separator of group names is comma.Variable 15Available document classes of the system.String array Editable fieldExample shape of list (if "," is a separator) that can be passed into action: group1,group2,group3...
WARNING! The spaces after the delimiter are not removed, so if "," is a delimiter, the list "group1, group2, group3 ..." will return an incorrect result.
Belongs to all*List of values 
Document index1.0.85Determines if any or all groups should be matched.LogicalNotEditable field Value for true*15Indexes for the selected document class.String array List of values 
Document parameter1.0.85Value that will be written into result variable if action returns true.Text Editable field Value for false*15Parameters available for the document.String array List of values 
Constant value1.0.85Value that will be written into result variable if action returns false.Text15Constant value added for each found document.String array Editable field 
Result Tabular variable*1.0.85Variable for storing result of action15The variable in which the results will be saved.Variable array Editable field 
Separator1.0.85Separator used to divide group names in 'Groups list' parameter.Text, <comma>Editable field 
The system does not distinguish between an empty column (no rows) and a text column with one row with a blank value. In this case, the value for a given column will be entered from index 0. It is recommended that the table be empty, or in the case of one row it should have values in the columns into which the results are inserted.

Parameter*- required field

Panel
titleSample configuration

Image RemovedImage Added

View file
nameTesty komponentów - akcje - [AKCJA] Sprawdzenie czy u ytkownik nale y do grup(y) 2020-09-04 09 17 04.zip
height250