Versions Compared

Key

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

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

x.

0.85

x

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*1x.0.85Zmienna tabelaryczna zawierająca loginy sprawdzanych użytkownikówxZmienna określająca z którego dokumentu zostaną wczytane informacje.Zmienna tabelaryczna Pole edytowalne 
Lista grup*1.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.TekstowyKlasa dokumentux.xDostępne klasy dokumentów systemu.Tablica wartości tekstowych Lista wartości 
Indeks dokumentux.xIndeksy dla wybranej klasy dokumentu.Tablica wartości tekstowych Lista wartości 
Parametr dokumentux.xParametry dostępne dla dokumentu.Tablica wartości tekstowych Lista wartości 
Stała wartośćx.xStała wartość dopisywana dla każdego znalezionego dokumentu.Tablica wartości tekstowych Pole edytowalne Zmienna wynikowa*
1.0.85Zmienna tabelarycznax.xZmienna , 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

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

Zadania związane z komponentem

Aktualne

JIRA
server192.168.1.52 JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
key

CUFCMP

PWET-

689

125

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

x.

0.85

x

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*1x.0.85Variable array containing usernames of users to checkxVariable specifying from which document the information will be loaded.Variable array Editable field Groups list*1.0.85Variable array of group names lists, on which the check will be performed. The default separator of group names is comma.
Variable Document classx.xAvailable 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*1.0.85Determines if any or all groups should be matched.LogicalNotEditable field 
Value for true*1.0.85Value that will be written into result variable if action returns true.Text Editable field 
Value for false*1.0.85Value that will be written into result variable if action returns false.TextList of values 
Document indexx.xIndexes for the selected document class.String array List of values 
Document parameterx.xParameters available for the document.String array List of values 
Constant valuex.xConstant value added for each found document.String array Editable field 
Result Tabular variable*1x.0.85Variable for storing result of actionxThe 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