Jeśli masz problem ze zrozumieniem jak działa setter/zadanie automatyczne, sprawdź opisy: SetterZadanie automatyczneWykonanie warunkoweParametry komponentów

Wtyczka: barcode-reader

Kategoria: Kody kreskowe

Dostępne od wersji: 1.0.0

Skanuje dokumenty w poszukiwaniu kodów kreskowych.

Po znalezieniu kodu na stronie tworzy nowy dokument składający się ze strony z kodem oraz następujących po niej stron bez kodu kreskowego. Ponadto, jeżeli jest to pierwszy znaleziony kod kreskowy, to do nowego dokumentu zostaną załączone również wszystkie poprzedzające go strony bez kodu kreskowego.

Nowy dokument zostaje dodany do wybranej klasy dokumentów (opcjonalnie przypięty do procesu).

Po utworzeniu dokumentów zostają wywołane akcje na dokumentach:

  • dodanie dokumentu do archiwum
  • dodanie dokumentu do procesu (jeżeli przypięto dokument do procesu)

Wynikiem aplikacji jest zestaw informacji na temat utworzonych dokumentów zapisywanych do zmiennych tabelarycznych. Informacje dotyczą:

  • Id dokumentu z którego został utworzony nowy dokument
  • Id nowego dokumentu z kodem kreskowym
  • Id paczki z której pochodzi dany kod kreskowy (nadawany w parametrze konfiguracji)
  • Kod kreskowy znaleziony w dokumencie
  • Klasa dokumentów, do której został zapisany nowy dokument.
Nazwa parametruOpisTyp parametruWartość domyślnaRodzaj pola

Uwagi i ograniczenia

Id paczki*Identyfikator paczki, który określa rodzaj tworzonych dokumentówTablica wartości tekstowych Pole edytowalne 
Wzorzec kodu kreskowego*Wyrażenie regularne jakie musi zostać spełnione dla podanego kodu kreskowego.Tablica wartości tekstowych Pole edytowalne 
Klasa dokumentu*Określa do jakiej klasy dokumentów zostanie przypisany nowy dokument utworzony ze strony o podanym wzorcu.Tablica wartości tekstowych Lista rozwijana 
Login użytkownika dodającego*Login użytkownika, który dodaje nowe pliki.Tekst Pole edytowalne 
Dodanie dokumentów do procesu*Określa, czy nowe dokumenty zostaną dodane do aktualnego procesu.LogicznyNiePole edytowalne 
Id dokumentów źródłowychZmienna do której zostanie wpisana tablica z identyfikatorami dokumentów źródłowych, z których zostały utworzone nowe dokumenty. Ilość wpisów odpowiada liczbie nowo-utworzonych dokumentów.Zmienna Pole edytowalneTylko zmienne tabelaryczne całkowite.
Id dokumentów utworzonychZmienna do której zostanie wpisana tablica z identyfikatorami dokumentów utworzonych przez aplikację.Zmienna Pole edytowalneTylko zmienne tabelaryczne całkowite.
Wynikowe id paczekId paczki do jakiej został zakwalifikowany dokumentZmienna Pole edytowalneTylko zmienne tabelaryczne tekstowe.
Znalezione kody kreskoweZmienna do której zostanie wpisana tablica z kodami kreskowymi znalezionymi w dokumentach.Zmienna Pole edytowalneTylko zmienne tabelaryczne tekstowe.
Wynikowe klasy dokumentówZmienna do której zostanie wpisana tablica z klasami dokumentów do których zostały przydzielone nowo-utworzone pliki.Zmienna Pole edytowalneTylko zmienne tabelaryczne tekstowe.

Parametr*- pole wymagane

 

 1.0.0

  • Dodanie komponentu

<plik z mapą w zipie>

Powiązane zadania

← Return to the list of available setters

← Return to the list of available applications 

If you have trouble understanding how the action works, check the descriptions: Application, Setter, Conditional execution, Component parameters

Plugin: barcode-reader

Category: Barcode

Available from version: 1.0.0

Scans documents for barcodes.

When it finds the code on the page, it creates a new document consisting of a page with the code and subsequent pages without a barcode. In addition, if this is the first bar code found, then all pages preceding it without a bar code will also be attached to the new document.

The new document is added to the selected document class (optionally pinned to the process).

After the documents are created, actions on the documents are triggered:

  • adding a document to the archive
  • adding a document to the process (if the document was pinned to the process)

The result of the application is a set of information about created documents saved to tabular variables. Information applies to:

  • Document id from which the new document was created
  • Id of the new barcode document
  • Package id from which the given bar code comes (given in the configuration parameter)
  • Barcode found in the document
  • Document class in which the new document has been saved.
Name of the parameterDescriptionParameter typeDefault valueField typeNotes and restrictions
Package idPackage id, which specifies the type of documents createdArray of text values Editable field 
Bar code patternRegular expression that must be met for the given bar code.Array of text values Editable field 
Document ClassSpecifies which document class will be assigned a new document created from the page with the given pattern.Array of text values Drop-down list 
Login of the adding userLogin of user who adds new files.Text Editable field 
Adding documents to the processSpecifies whether new documents will be added to the current process.BooleanNoEditable field 
ID of source documentsThe variable into which the table with the identifiers of the source documents from which new documents were created will be entered. The number of entries corresponds to the number of newly created documents.Variable Editable fieldOnly tabular integer variable
Id of documents createdThe variable into which the table with the identifiers of documents created by the application will be entered.Variable Editable fieldOnly tabular integer variable
Result package idID of the package to which the document was qualifiedVariable Editable fieldOnly tabular integer variable
Barcodes foundThe variable into which the table with bar codes found in the documents will be entered.Variable Editable fieldOnly tabular string variable
Resulting document classesThe variable into which the table with the document classes to which the newly created files have been allocated will be entered.Variable Editable fieldOnly tabular string variable

Parameter*- required field

 

 1.0.0

  • Adding component