← Powrót do listy dostępnych akcji

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

Kategoria: Dokumenty

Umiejscowienie akcji: Formularz

Dostępna od wersji : 1.0.1

Akcja służy do dodawania pola we wskazanym miejscu na formularzu, w celu wczytywania załączników do procesu (do skonfigurowanej klasy lub otwiera okno konfiguracyjne). W celu wczytania plików, należy je upuścić na wybrane pole.

Akcja umożliwia również dodanie kilku różnych pól konfiguracyjnych oraz jednoczesne ładowanie kilku dokumentów do różnych klas (w zależności od pola). Gdy pole jest aktywne (przed zwolnieniem przycisku myszki), obwódka posiada grubszą i ciemniejsza ramkę. 

Nazwa parametruOd wersjiOpisTyp parametruWartość domyślnaRodzaj polaUwagi i ograniczenia
Nazwa pola*1.0.1Nazwa jaka ma być wyświetlana na środku pola.Tekst Pole edytowalne 
Pozycja pola1.0.1Miejsce wyświetlenia pola na podstawie podanej zmiennej formularza (domyślnie na górze albo na dole formularza).Tekst Pole edytowalne 
Zmienna formularza 1.0.1Zmienna formularza przy ktorej ma być wyświetlone pole.Zmienna Pole edytowalne 
Pokaż okno dodawania dokumentów1.0.1Wybranie konfiguracji klasy dokumentow. LogicznyfalseCheckbox

true- wyświetlanie okna po przeciągnieciu pliku, dzięki czemu nastąpi możliwość konfiguracji dynamicznej (wybór klasy, opis, itp),

false- brak okna, konfiguracja statyczna (zawsze do tej samej klasy). Możliwość przepisania zmiennych procesu do indeksów klas dokumentów.

Klasa dokumentów1.0.1Lista klas dokumentów dostępnych w systemie. Tekst Pole edytowalne

 

Opis dokumentu1.0.1W przypadku braku opisu, podawana jest nazwa klasy.Tekst Pole edytowalne 
 Nazwa indeksu 1.0.1Lista indeksów wybranej klasy dokumentów. Tablica wartości tekstowych Pole edytowalneWybór z listy możliwy jest po podaniu klasy.
Wartość indeksu 1.0.1Zmienna przypisana do wybranego indeksu.Zmienna Pole edytowalne 
Zapisz jako nowa wersja dokumentu1.0.1Zapisuje jako nową wersję dokumentu.LogicznyfalseCheckboxtrue- w przypadku powtarzających się indeksów oraz jednego dokumentu o takich samych indeksach w klasie.
1.0.1Wartości, które zapiszemy, bądź którymi nadpiszemy zmienne zadeklarowane w szablonie. Tablica wartości tekstowych Pole edytowalne 
Wyświetl indeksy1.0.1Określa czy mają zostać wyświetlone indeksy.LogicznyfalseCheckboxtrue- dodatkowo wyświetlony zostaje formularz indeksów

Sprawdź uprawnienia

1.0.1Określa czy mają zostać sprawdzone uprawinienia.LogicznyfalseCheckbox 

Wybierz pierwszą klasę

1.0.1Określa czy z listy klas dokumentów ma zostać wybrana pierwsza pozycja.LogicznyfalseCheckboxtrue- pierwsza pozycja zostaje wybrana automatycznie

Parametr*- pole wymagane

Podstawowa konfiguracja

Dodawanie do wybranej klasy dokumentów

 

Przykład formularza

 

 

Przykładowe konfiguracje

 

Okno konfiguracyjne (dodawania dokumentów), po przeciągnięciu 4 plików na pole

 

 

 

 

1.0.1

  • Dodanie komponentu 

1.0.x

  • Obsłużenie wykonywania warunkowego pokazywania / ukrywania pola drag and drop

 

 

 ← Return to the list of available actions

If you have a problem understanding how the action works, check: ActionConditional ExecutionComponents parameters.

Action location: Table, Table button

Available from version: 1.0.3

Previous names: Document generation (up to version 1.0.33) 

Category: Documents

Generates a document from the given template based on the current process data. Preparation of the document template is described on the page: DOCX template for generating PDF. The document can be attached to the process in which the automatic task was called. You can set your own name for the document and choose one of two types - PDF or DOCX. The component allows you to set variable values in the template using the mapping. If the variables in the template already have the corresponding variables on the form, then using this component we can overwrite these mappings.

 

 

Parameter name From version 

Description

Paremeter type 

Default value

Field type

Comments and restrictions

Format*

1.0.3

The file format in which the document will be generated.

Text

PDF

Non-editable dropdown list

Values to choose from: PDF, DOCX

Preview*

1.0.3

It allows the user to preview a document after it has been generated

Logical

 

Editable field

 

Message*

1.0.3

Message displayed when generating the document. If the show parameter is set to true this parameter is not used.

Text

 

Editable field

 

Document class*

1.0.3

The name of the document class to which the generated document will be added. Note - the parameter must contain the original name of the document class as the translations are not supported.

Text

 

Editable dropdown list

Values to choose from: <names of document classes available in the system>

You can enter your own name, but if the component does not find a class in the system it will show an error message.

Template*

1.0.3

The name of the template of the generated document. The template should be attached to the process in which we use the automatic task. The method of adding the template has been described here(1.1.3)

Text

 

Editable field

If it does not find a template in the system, the component will show error message.

Attach*

1.0.3

Attach the generated document to the process.

Logical

No

Non-editable dropdown list

 

New version*

1.0.3

Saves the document attached to the process as a new version. It works only when exactly one document from the same class is attached to the process with the same indexes.

Logical

No

Non-editable dropdown list

 

Document name

1.0.24

Allows you to enter your own name of the generated document. If this parameter is not completed the system will generate the name itself.

Text

 

Editable field

If "/" or "\" is found in the name, the component will show error message.

Mapping keys

1.0.3

The keys from the template that we want to map to the appropriate values given in "Mapping Values". E.g. for the values in the template: "@ name @" enter the key "name"

Table of text values

 

Editable field

 

Mapping values

1.0.3

Values that we save or with which we overwrite the variables declared in the template

Table of text values

 

Editable field

 

Document placement

1.0.X

Specifies where to place the document - in the archive in the process or nowhere (then only displays the document for preview)

Text

Archive

Editable dropdown list

 

Parameter*- mandatory field

Podstawowa konfiguracja

Dodawanie do wybranej klasy dokumentów

 

Przykład formularza

 

 

Przykładowe konfiguracje

 

Okno konfiguracyjne (dodawania dokumentów), po przeciągnięciu 4 plików na pole

 

 

1.0.3

  • Adding a component

1.0.11

  • Adding the parameters "Mapping keys" and "Mapping values"

1.0.23

  • Changing the section from "General" to "Documents"

1.0.24

  • Adding the "Document name" parameter 

1.0.33

  • Changing the name from "Generating a document" to "Generating a document from a template"

1.0.43

  • Update of the dynamic form
  • Removal of the option of placing actions under the acceptance button