To create a batch processing, follow this path:
Navigation bar → Settings → Batch processing → Create Batch processing
Batch processing is an optional add-on module of the LDB.
Batch processing automatically performs a defined action on many data records, one after the other. Which actions (create, sign, ...) are available depends on the datatype (sample, report, ...):
Each data record is logged as a separate entry with a status (open, done, failed) and a message.
Setting up a batch processing involves the following steps:
The fields of the Create Batch processing form are described below:

Figure: Create Batch processing form, using the action "Create report for sample" as an example
Which additional fields are mandatory and how the data records are processed depends on the selected action. The following overview describes the available actions per datatype:

Figure: Options in the Action field for the datatype Samples
Create report for sample / Create report for order (datatype Samples or Orders)
Sign Reports (datatype Reports)
Send Reports by e-mail (datatype Reports)
DDF_Email) of the first sample of the report.Send Reports via SMS (datatype Reports)
DDF_Telefon) or Telephonnr (DDF_Telephonnr) of the first sample of the report.The following placeholders can be used in the SMS text:
SampleNAME_: Sample nameSampleCREATED_: Creation date of the sampleSampleDDF_VORNAME_: First name from the sample fieldSampleDDF_NACHNAME_: Last name from the sample fieldReportURL_: Link to the report. The SMS only contains a link via this placeholder. The link opens the report without login and is valid for 30 days from the report date. If a date of birth is entered for the sample, the recipient must enter it first.SampleRESULT_: Currently only suitable for certain positive/negative tests (originally developed for COVID-19 tests).Execute query report with SFTP export / HTTP PUSH / import interface (all datatypes)
The introductory query report returns the data records that are passed to the batch processing and processed there.
Batch processing does not check whether a report has already been signed or sent. No password is requested when signing. Therefore, exclude reports that have already been signed or sent in the introductory query report.
** Note:** Each row must contain exactly one link to the datatype of the batch processing (see the following table).
The column name can be chosen freely; all other columns are optional and are ignored during processing.
| Datatype | Mandatory column |
|---|---|
| Reports | CONCAT('link==../reports/view/', reports.id, '==', reports.name) |
| Samples | CONCAT('link==../samples/view/', samples.id, '==', samples.name) |
| Orders | CONCAT('link==../orders/view/', orders.id, '==', orders.name) |
Exclude data records that have already been attached
The LDB stores which data records have already been passed to a batch processing. Use this information in the introductory query report so that only new data records are passed.
Note: Without this exclusion, the same data records are passed again on every run with the trigger every 10 minutes, e.g. reports are created multiple times or e-mails are sent multiple times. Make sure that the ID in the query report matches the linked batch processing.
How to proceed:
1 with your ID:LEFT JOIN batchprocessitems ON batchprocessitems.item_id = samples.id AND batchprocessitems.batchprocess_id = 1AND batchprocessitems.item_id IS NULL
samples.id with reports.id; for orders, with orders.id.Example (datatype Samples, batch processing with ID 1, action Create report for sample):
SELECT
CONCAT('link==../samples/view/', samples.id, '==', samples.name) AS 'Sample'
FROM samples
LEFT JOIN reports_samples ON reports_samples.sample_id = samples.id
LEFT JOIN batchprocessitems ON batchprocessitems.item_id = samples.id AND batchprocessitems.batchprocess_id = 1
WHERE samples.visible_to != 'deleted'
AND reports_samples.report_id IS NULL # no report created yet
AND batchprocessitems.item_id IS NULL # not yet in this batch processing
LIMIT 1000;
Link to the batch processing

Figure: Linking the introductory query report to the batch processing
This step is only required for the actions Execute query report with SFTP export / HTTP PUSH / import interface. Two query reports are needed here:
Requirements for the processing query report:
WHERE samples.id IN (_VAR0_).How the result is transferred depends on the action:
HTTP PUSH
link== value is shortened to its display text. If the recipient needs the ID, output it as a separate column.Further information: Export data from query reports, section HTTP PUSH
Import interface
Further information: Import Interfaces Overview
SFTP
Further information: Export data from query reports, section SFTP
Our recommendation: Test every new batch processing first with the trigger manually and individual entries before activating automatic processing.
For each new sample with the description "HR", the sample data is to be sent individually as JSON to an external web service.
Follow this path: Navigation bar → Settings → Query reports → Create query report
This query report takes the data from the batch processing and performs the selected action. It is called individually for each open entry and receives the sample ID as variable 0.
SELECT
samples.id AS 'ID',
samples.name AS 'Sample',
samples.description AS 'Description'
FROM samples
WHERE samples.visible_to != 'deleted'
AND samples.id IN (_VAR0_);
Follow this path: Navigation bar → Settings → Batch processing → Create Batch processing

Figure: Create Batch processing
Follow this path: Navigation bar → Settings → Query reports → Create query report
SELECT
CONCAT('link==../samples/view/', samples.id, '==', samples.name) AS 'Sample',
samples.description AS 'Description'
FROM samples
LEFT JOIN batchprocessitems ON batchprocessitems.item_id = samples.id AND batchprocessitems.batchprocess_id = 1
WHERE samples.visible_to != 'deleted'
AND batchprocessitems.item_id IS NULL # not yet in this batch processing
AND samples.description = 'HR'
ORDER BY samples.date DESC
LIMIT 1000;

Figure: Linking the introductory query report to the batch processing

Figure: Passing samples to the batch processing

Figure: Triggering processing individually

Figure: Transmission status

Figure: Edit Batch processing
Last change: 11/26/26
General information
Client zone (optional)
8D-report
Supplier evaluation
Material
Employees
Customers
Orders
Samples
PDF templates
Assets
Recipes
Reports
Report table editor
Interfaces
AI functions
Introductory phase
Query reports
Templates
Offers
Invoices
Parameters
Calculating with parameters
Webservices
Transformationscode
Test plans / limit values / specifications
Documents control
Questions and answers
Equipment
Trainings
Others
File management
Processes