Versions Compared

Key

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

Polish

← Powrót do listy dostępnych zadań automatycznych

Info

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

Panel
titlePodstawowe informacje

Kategoria:

Ogólne

Attachment

 Dostępna

Dostępne od wersji: 1.0.23

Panel
titleOpis

Komponent pobiera dokumenty podpięte do procesu lub z archiwum i zapisuje je pod wskazaną lokalizacją na dysku.

Panel
titleParametry konfiguracyjne
Nazwa parametruOd wersjiOpisTyp parametruWartość domyślnaRodzaj polaUwagi i ograniczenia
Źródło pobierania plików*1.0.23

Określa z jakiego źródła mają być pobierane pliki. Dostępne są 3 opcje:

  1. Proces - pobierane są dokumenty podpięte do procesu.
  2. Archiwum - pobierane są dokumenty z archiwum z określonej klasy dokumentów.
  3. Identyfikatory plików z archiwum - pobierane są z archiwum wyszczególnione pliki po identyfikatorze.
Tekst Lista wartości
Wartość wyświetlanaWartość przekazywana
ProcesPROCESS
ArchiwumARCHIVE
Identyfikatory plików z archiwumFILEIDS
Wybierz klasę dokumentów*1.0.23Decyduje, czy pobieranie dokumentów podpiętych do procesu ma być zawężone przez wybranie określonej klasy dokumentów. Gdy parametr jest ustawiony na Nie, pod uwagę będą brane wszystkie dokumenty bez względu na to do jakiej klasy dokumentów należą.Logiczny NiePole edytowalneParametr jest dostępny po wyborze opcji Proces w parametrze Źródło pobierania plików.
Klasa dokumentów*1.0.23Nazwa klasy dokumentów, z której są pobierane dokumentyTekst Lista wartości 

Nazwa indeksu

1.0.23Opcjonalne filtrowanie po indeksach wybranej klasy dokumentów. W tym parametrze określana jest nazwa indeksu.Tekst Lista wyboru / pole edytowalneLista indeksów po wybraniu klasy dokumentów z listy. Jeśli w parametrze Klasa dokumentów zostanie użyta zmienna lub funkcja to parametr ten z listy stanie się polem edytowalnym.
Wartość indeksu1.0.23Opcjonalne filtrowanie po indeksach wybranej klasy dokumentów. W tym parametrze określana jest wartość indeksu.Tekst Pole edytowalne 
Pobierz najnowszą wersję1.0.23Pobiera najnowszą wersję dokumentu w przypadku, gdy dokument posiada więcej niż jedną wersję.LogicznyTakPole edytowalneParametr jest dostępny po wyborze opcji Identyfikatory plików z archiwum w parametrze Źródło pobierania plików.
Identyfikatory plików1.0.23Identyfikatory plików do pobrania z archiwumTablica liczb całkowitych Pole edytowalne 
Katalog*1.0.23Ścieżka zapisu pliku na dysku. Parametr wskazuje pod jaką lokalizacją mają zostać zapisane dołączone do procesu lub z archiwum dokumenty.Tekst Pole edytowalne 
Nazwa pliku1.0.23Nazwa pliku zapisywanego na dysku. Za pomocą zmiennych kontekstowych: Nazwa pliku z rozszerzeniemNazwa pliku bez rozszerzenia, Rozszerzenie pliku można zmienić docelową nazwę pliku.Funkcja Pole edytowalne

Pole jest opcjonalne. W przypadku braku wprowadzenia jakiejkolwiek wartości, pole zostanie uzupełnione oryginalną nazwą pliku.

Parametr*- pole wymagane

Warning

W sytuacji, gdy zapisuje się kilka dokumentów o takiej samej nazwie, to zostaną one zapisane z kolejnymi numerami w nazwie np. plik.txt, plik (1).txt, plik (2).txt. Jeśli zapisuje się plik w katalogu, w którym istnieje już plik o takiej samej nazwie, to zostaje on nadpisany.

Panel
titleZmienne kontekstowe
Nazwa zmiennej kontekstowejOd wersjiOpisTyp parametru
Nazwa pliku z rozszerzeniem1.0.23Przechowuje nazwę pliku z rozszerzeniem aktualnie przetwarzanego dokumentu.
Tekst
Nazwa pliku bez rozszerzenia1.0.23Przechowuje nazwę pliku bez rozszerzeniem aktualnie przetwarzanego dokumentu.Tekst
Rozszerzenie pliku1.0.23Przechowuje rozszerzenie pliku aktualnie przetwarzanego dokumentu.Tekst
Panel
titlePrzykładowa konfiguracja

 

Panel
titleChange log

 1.0.23

  • Dodanie komponentu
Hide If
special@anonymous

Zadania związane z komponentem

Aktualne

Archiwalne

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

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

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

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

English

← Back to the available automatic tasks list

Info

 In case of any problems with understanding how the automatic task works, check: Automatic task, Conditional execution, Component parameters

Category: General

Available from version: 1.0.50 

 

Description

The application accepts, cancels or sets variables in selected processes found in the system. It also allows simultaneous acceptance/cancellation of the process and update variables. After variables update documents actions are executed.

Configuration parameters

Parameter Category Parameter NameFrom versionDescriptionParameter type Default valueField type Comments and restrictions 
-Activity type*1.0.50Determines how the application will operate. TextProcess endNon-editable dropdown list The values to choose from are described in the table below. 
Process*1.0.50The name of the process affected by application operation.Text Non-editable dropdown list List of available processes in the system.
Task*1.0.50Specifies the task during which the process must be in order for the application to work.Text Non-editable dropdown list List of available tasks in the process. 

Accept button 

1.0.50The button with which the task will be accepted.Text Non-editable dropdown list List of available buttons in task. 
Multiple process support*1.0.50When the search returns more than one process, the application will work on each of them. If set to NO, the application will throw an error.Logical YesNon-editable dropdown list  
Searching after variable values Variables1.0.50Variables at which the processes will be found.Text values table Non-editable dropdown list List of available variables in the process.
Values1.0.50Values that have variables in the search process.Text values table Editable fieldPass values as text, the application will automatically match the type to type of variables. 
-Update variables 1.0.50Specifies whether to update the variables together with the acceptance/cancellation.Logical NoNon-editable dropdown list The parameter is shown only if "Accept process" or "Process cancellation" is selected. Shows or hides parameters from the "Set variable values" category.
Setting variable values  Variables 1.0.50Variables which values we want to set.Text values table Non-editable dropdown list List of available variables names in the process.
Values 1.0.50Values that we want to set for variables in the retrieved processes.Text values table Editable fieldPass values as text, the application will automatically match the type to type of variables. When setting a tabular variable, the values should be passed as text after the semicolon, e.g. "value1; value2; value3" (see join function)
-Comment in updated process1.0.59Specifies whether to add a comment with user text to the updated processLogical NoNon-editable dropdown list  
Comment1.0.59The content of the comment that will be added to the processText Editable field 

Parameter*- mandatory field 

Activity type

Activity type 

Available from version

Value of the parameter to enter (without using the drop down list) Description 
Acceptance of the task1.0.50ACCEPT_ACTIVITYAccepts the selected task from the process specified by the action from the button.
Process cancelation  1.0.50CANCEL_PROCESS Cancels the selected task from the process. 
Update selected task from the process (previous name: Process update) 1.0.50UPDATE_PROCESSUpdates variables in the selected task from the process. 

Update in all process tasks 

1.0.55UPDATE_ALL_ACTIVITIES_WITH_PROCESSUpdates variables in all tasks in the process and updates variables in closed processes.

Configuration example

version 1.0.50

Application example

Expand
titleExample 1 Updating a selected task from a process
Panel
titleExample 1 Updating a selected task from a process

Let us assume that we have several tasks in the process of contracts review at the stage of Contract registration. All tasks with contracts which type is "Other” we want to transfer to the next stage e.g. business acceptance.

For this purpose, we create a map with the task Automatic Process Update and configure it in the following way:

  1. Choose the type of action from the list. In our case it will be "task acceptance" because we want to go from one stage of the process to another. 
  2. Then choose the name of the process, in this case "Contracts review”
  3. We accept all processes on the selected task, so we set the "Multiple processes support" parameter accordingly. 
  4. The processes that we want to accept are at the stage of "Contract registration".
  5. Make sure that the task is accepted with the appropriate button. So we choose the right position from the list.
  6. We do not intend to accept all processes at this stage, but only those whose type equals to Others. We use the "Search for variable values" parameter to limit the results in which the task acceptance will happen.
  7. In this case, we do not use the functionality of variables update. 
  8. If we have configured the component correctly it should look like this:

The only thing left to do right now is to run the automatic task.

Expand
titleExample 2 Process cancellation
Panel
titleExample 2 Process cancellation

Let's assume that we have several tasks in the process of contracts review that we want to cancel. Each of them is at the stage of "Canceling the contract".

For this purpose, we create a map with the task Automatic Process Update and configure it in the following way:

  1. Choose the type of action from the list. In our case it will be "Process cancellation". 
  2. Then choose the name of the process, in this case "Contracts review” 
  3. We cancel all processes on the selected task, so we set the "Multiple processes support" parameter accordingly.
  4. The processes that we want to accept are at the stage of "Contract cancellation”.
  5. We want to cancel all processes at this stage, so we need to leave the "Search for variables values" parameter blank. 
  6. In this case, we use the variables update functionality. 
  7. Set the value of the "Comments / Question" variable to "Canceled". (this is just an example; it is not required to cancel the process) 
  8. If we have configured the component correctly it should look like this:

The only thing left to do right now is to run the automatic task.

Expand
titleExample 3 Process update
Panel
titleExample 3 Process update

Let's assume that we have several tasks in the Contract generation process that we want to update. Each of them is at the stage of "Completing the standard contract data". We want to update the variable "Contract from" which stores the date by using a variable from the process in which the automatic task will be performed.

For this purpose, we create a map with the task Automatic Process Update and configure it in the following way:

  1. Choose the type of action from the list. In our case it will be "Process update”
  2. Then choose the name of the process, in this case "Standard contracts generation process”
  3. We update all processes on the selected task, so we set the "Multiple processes support" parameter accordingly. 
  4. The processes that we want to accept are at the stage of “Completing the standard contract data”.  
  5. We want to update all processes at this stage, so we need to leave the "Search for variables values" parameter blank.
  6. Set the value of the variable "Contract from" to #toString ($Application Date) - we must use the toString function, because the "Values" parameter accepts only text values, and our variable is of "date" type.
  7. If we have configured the component correctly it should look like this: 

The only thing left to do right now is to run the automatic task.

Expand
titleExample 4 Setting tabular variables
Panel
titleExample 4 Setting tabular variables

If we want to set tabular variables, subsequent values should be entered after the semicolon.

To set a tabular variable using other tabular variable we use the join function with the separator ";".

Hide If
special@anonymous

Change log

1.0.50

  • Component adding

1.0.55

  • Adding the possibility of updating entire processes (regardless of the task, including closed processes)

1.0.56

  • Executing document actions after variables update

Tasks related to the component

Current

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

Archive

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

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

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