Versions Compared

Key

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

Polish
Panel
titlePodstawowe informacje

Kategoria: Komentarz

Umiejscowienie akcji: Przycisk formularza, Przycisk akceptacji

Dostępna od wersji: 1.0.46

Panel
titleOpis

 Akcja wyświetla okno z możliwością dodania komentarza do zadania. W przypadku umieszczenia na przycisku akceptacji jest ona zablokowana do momentu dodania komentarza. Sprawdzenie, czy komentarz został dodany przebiega na podstawie obecnej sesji formularza, tzn.

  • Jeżeli dodamy komentarz, a następnie odświeżymy stronę, to będzie trzeba dodać następny komentarz.
  • Jeżeli dodamy komentarz, a zadanie zostanie cofnięte i ktokolwiek będzie musiał wykonać je ponownie, to musi dodać następny komentarz
  • Jeżeli dodamy komentarz, a akceptacja zadania się nie powiedzie (np. ze względu na błąd walidacji) to kolejny komentarz nie musi zostać dodany.
Panel
titleWywołanie akcji
Umiejscowienie akcjiDziałanie parametru "Wykonanie warunkowe"Warunek wywołania akcji
Przycisk formularza/akceptacjiUaktywnia/dezaktywuje wywołanie akcji po naciśnięciu przyciskuWciśnięcie przycisku (działa tylko do momentu dodania pierwszego komentarza przy pomocy wyświetlonego okna)
Panel
titleParametry konfiguracyjne

Brak

Panel
titlePrzykładowa konfiguracja

Panel
titlePrzykład 1

Załóżmy, że chcemy, aby każdy użytkownik z wyjątkiem admina musiał dodawać komentarz za każdym razem, kiedy akceptuje zadanie.

Umieszczamy zatem na przycisku akceptacji akcję o takiej konfiguracji:

Od teraz, każdy użytkownik z wyjątkiem użytkownika o loginie "admin" dostanie przed akceptacją okno z komentarzem do wypełnienia:

Po dodaniu komentarza przez użytkownika akceptacja przechodzi dalej.

Panel
titleChange log

1.0.46

  • Dodanie komponentu
Panel
titlePakiet z przykładowym formularzem wykorzystującym akcję

View file
nameTesty komponentów - akcje - [AKCJA] Okno z dodawaniem komentarza 2019-10-14 10_23_46.zip
height250
 

Hide If
special@anonymous

Zadania związane z komponentem

Aktualne

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-421

Archiwalne

English

Category: Comment

Action location: Form button, Acceptance button 

Available from version: 1.0.46 

Action description

The action displays a window with option of adding a comment to the task. If placed on the acceptance button, it is blocked until the comment is added. Checking if the comment has been added is based on the current form session, i.e. 

    • If you add a comment and then refresh the page, you will need to add another comment.
    • If you add a comment and the task is undone and whoever has to do it again, then you must add another comment.
    • If you add a comment and the acceptance of the task fails (eg due to a validation error), then the next comment does not have to be added.

Action calling

Action location 

Parameter operation "Conditional execution"

Action call condition 
Form/Acceptance button 

Activates/deactivates the action call after pressing the button

Pressing the button (works only until the first comment is added using the window displayed)

Configuration parameters

Parameter name From versionDescriptionParameter type 

Default value

Field type Comments and restrictions 

Sample action configuration

Using example

Expand
titleExample 1
Panel
titleExample 1

Let's assume that we want every user except the admin to have to add a comment every time he accepts the task.

We place an action with this configuration on the accept button:

From now, each user with the exception of the user with "admin" login will get before accepting a window with a comment to fill:

After adding comment by the user, the acceptance continues.

 

 

Hide If
special@anonymous

Change log

1.0.46

  • Component adding

Tasks related to the component

Current

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-421

Archive

Map with an example configuration

View file
nameTesty komponentów - akcje.zip
pageAkcje cuf-components
height250