Versions Compared

Key

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

Image Added

 

Polish
Panel
bgColorwhite
titleBGColorlight
titlePodstawowe informacje

Pakiet: com.suncode.plugin.scheduldedtask.task.AcceptActivityWithDBexplorer

Dostępna od wersji: 1.0.X14

Panel
bgColorwhite
titleBGColorlight
titleOpis

Zadanie wyszukuję zaplanowane wyszukuje wybrane otwarte zadania u podanego użytkownika. Następnie wykonuje dla każdego zadania przygotowane zapytanie (może wywołać zapytanie z parametrami pobranymi z procesu). Gdy zapytanie zwróci jakiekolwiek wyniki, to zadanie zostanie zaakceptowane (umożliwia także zapisanie pobranych danych do zadania przed jego akceptacją).

Panel
bgColorwhite
titleBGColorligth
titleParametry konfiguracyjne
Nazwa parametruod wersjiOpisTyp parametruWartość domyślnaUwagi i ograniczenia
Baza danych*1.0.X14Nazwa połączenia do bazy danych z konfiguracji Edytora danych Tekst Nazwa z pola "Wyświetlana nazwa bazy danych"
Nazwa zapytania zapytania*1.0.X14Nazwa zapytania z tabeli pm_dbqueries (kolumna query_name)Tekst Nazwa użytkownika 
Nazwy użytkowników1.0.X14Nazwa użytkownikaNazwy użytkowników, dla którego będą których są wyszukiwane zadania. Podawanych użytkowników należy rozdzielać przecinkiem. Parametr jest opcjonalny. W przypadku pozostawienia pustego parametru, brane są pod uwagę otwarte zadania niezależnie od przypisanego im użytkownika.Tekst  
processDefId*1.0.X14Identyfikator definicji procesuTekst  
activityDefId*1.0.X14Identyfikator definicji zadaniaTekst  
Nazwa akcji1.0.X14Nazwa akcji (przycisku), która ma zostać wykonana podczas akceptacji zadania.Tekst Ustawienie wartości pustej wywołuje domyślny przycisk akceptacji (gdy żadnego nie ma na formularzu).
Id Zmiennych z procesu1.0.X14Lista identyfikatorów zmiennych (rozdzielonych przecinkiem) z procesu, które posłużą do wykonania zapytania. Kolejność ma znaczenie.Tekst Możliwość użycia zmiennych tablicowych procesu
Zapisz otrzymane dane w przetwarzanym zadaniu*1.0.X14Aktualizuje kontekst zadania danymi pobranymi z bazy danych. Nazwy zwracanych kolumn muszą odpowiadać identyfikatorom zmiennych w procesie.Logiczny W zapytaniu można używać aliasów na zwracanych kolumnach
Obsługa wielu wartości dla zmiennej nagłówkowej*1.0.X14Możliwe typy BLOCK, FIRST, UNIQUELogiczny 

Używany podczas aktualizacji zmiennych nagłówkowych w procesie

OpcjaOpis
BLOCKPrzerywa działanie dla wybranego zadania, jeżeli zwróci więcej niż jeden wynik dla zmiennej nagłówkowej.
FIRSTPrzepisuję tylko pierwszą wartość.
UNIQUEPrzepisuję po znaku ';' (średnika) wartości unikalne dla zmiennej nagłówkowej. Zmienna musi być typu tekstowego.


Nadpisanie zmiennych tabelarycznych*1.0.X14Gdy 'true' to pobrane zmienne tabelaryczne zostaną zastąpione, w przeciwnym wypadku nowego wartości zostaną dopisane.Logiczny Używany podczas aktualizacji zmiennych tabelarycznych w procesie
Wywołaj walidatory podczas akceptacji*
1.0.25Parametr określa, czy akceptacja zadania powinna zależeć od walidatorów.LogicznyNie 
Panel
bgColorwhite
titleBGColorligth
titlePrzykładowa konfiguracja

Przykładowa konfiguracja zadania:

Image RemovedImage Added

Przykładowe zapytanie:

Panel
bgColorwhite
titleBGColorlight
titleChange log

1.0.X14 (obowiązująca dokumentacja)

  • Utworzenie zadania zaplanowanego

1.0.25 (obowiązująca dokumentacja)

  • Dodanie nowego parametru Wywołaj walidatory podczas akceptacji

1.0.27

  • Zmiana parametru "Nazwa użytkownika" na "Nazwy użytkowników"
English
Panel
bgColorwhite
titleBGColorlight
title Basic information

Package: com.suncode.plugin.scheduldedtask.task.AcceptActivityWithDBexplorer

Available from version: 1.0.X14

 

 

Panel
bgColorwhite
titleBGColorlight
titleDescription

Task searches for selected open tasks from a given user. Then it executes a prepared query for each task (it can execute a query with parameters taken from the process). When the query returns any results, the task will be accepted (it also allows saving the downloaded data to the task before accepting it).

Panel
bgColorwhite
titleBGColorligth
titleConfiguration parameters
Id of the variables from the process

 

Parameter namefrom versionDescriptionThe type of the parameterDefault valueNotes and Restrictions
Database*1.0.X14Connection name to database from Data Editor configurationString  
Query name*1.0.X14Name of the query from the pm_dbqueries table (query_name)String userName 
User names*1.0.X14The login names of the user users for which whom the tasks will be searched.are searched. Entered users should be separated by a comma. The parameter is optional. If the parameter is left empty, open tasks are taken into account regardless of the user assigned to them.String  
processDefId*1.0.X14Process definition IDString  
activityDefId*1.0.X14Activity definition IDString  
Action name1.0.X14The name of the action (button) to be performed when accepting the task.String Setting the value to blank causes the default accept button (when none is present on the form).
Id of the variables from the process1.0.X14A list of variable identifiers (separated by a comma) from the process that will be used to execute the query. The order matters.String Possibility to use process array variables
Save the received data in the processed activity*1.0.X14Updates the activity context with the data retrieved from the database. Return column names must match the process variable identifiers.Boolean You can use aliases on the returned columns in your query
Multiple value support for a header variable*1.0.X14Possible types BLOCK, FIRST, UNIQUEBoolean 

Used when updating header variables in the process

OptionDescription
BLOCKBreaks the selected task if it returns more than one result for a header variable.
FIRSTI'm just rewriting the first value.
UNIQUEI rewrite after the ';' character (semicolon) values unique to the header variable. The variable must be of a text type.
Overwriting tabular variables*1.0.X14When 'true', the retrieved tabular variables will be replaced, otherwise the new values will be added.Boolean Used when updating tabular variables in the process
Invoke validators during acceptance*1.0.25Determines whether acceptance of a task should be dependent on validators.BooleanNo 
Panel
titleSample configuration

Sample task configuration:

Image RemovedImage Added

Sample query:

Panel
bgColorwhite
titleBGColorlight
titleChange log

1.0.X14 (applicable documentation)

  • Create a scheduled task

1.0.25 (applicable documentation)

  • Added new parameter Invoke validators during acceptance

1.0.27

  • Changing the parameter "User name" to "User names"