Darstellung
BpmItem
Tabelle: bpm_item
Domain: BpmItem · com.reybex.domain.wws.bpm
Modul: BPM
Partner-Hinweise
- Daten liegen mandantengetrennt – bei SELECT fast immer
tenant_id = :mandantsetzen (Spalte ggf.TenantIdin älteren Tabellen). - Schreibende SQL (
INSERT/UPDATE/DELETE) nur in abgestimmten Export-/Report-Jobs (Transaktion BAS23) und nie ohne Freigabe durch reybex. - Für API-Integrationen bevorzugt die API statt direkter DB-Zugriffe.
Primärschlüssel
id
Spalten
| Spalte | SQL-Typ | NULL | Default | Beschreibung |
|---|---|---|---|---|
id | bigint | Nein | — | Primärschlüssel (Domain: id) |
tenant_id | bigint | Nein | — | Mandanten-ID (Multi-Tenant – in Abfragen fast immer filtern) (Domain: tenantId) |
bpm_head_id | bigint | Nein | — | Fremdschlüssel → bpm head |
bpm_definition_item_id | bigint | Ja | — | Fremdschlüssel → bpm definition item |
title | varchar(100) | Ja | — | Domain-Feld title |
sequence | int | Ja | — | Domain-Feld sequence |
description | mediumtext | Ja | — | Beschreibung (Domain: description) |
router | varchar(500) | Ja | — | Domain-Feld router |
bpm_process_type_id | bigint | Ja | — | Fremdschlüssel → bpm process type |
task_id | bigint | Ja | — | Fremdschlüssel → task |
is_finished | smallint | Nein | 0 | Boolean: Finished |
is_delete | smallint | Nein | 0 | Soft-Delete (0 = aktiv, 1 = gelöscht) |
date_created | datetime | Ja | — | Anlagezeitpunkt |
created_by_id | bigint | Ja | — | Angelegt von (Benutzer-ID) |
last_updated | datetime | Ja | CURRENT_TIMESTAMP | Letzte Änderung |
updated_by_id | bigint | Ja | — | Geändert von (Benutzer-ID) |
Fremdschlüssel
| Spalte(n) | Referenz |
|---|---|
bpm_definition_item_id | bpm_definition_item (id) |
task_id, tenant_id | task (id, tenant_id) |
bpm_head_id | bpm_head (id) |
tenant_id | company (tenant_id) |
bpm_process_type_id | lt_bpm_process_type (id) |