flowable / flowable/flowable-engine

Property missing when querying historic process instances

Offen
#1,685 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
9.5k
Forks
2.9k
Ø Merge
7 Std. 8 Min.
Gemergte PRs (30 T.)
2

Beschreibung

Hi,

When using Flowable's API for fetching historic process instances, I can see that the class HistoricProcessInstance contains properties which reference the process definition info (processDefinitionKey, processDefinitionName and processDefinitionVersion) but it does not have **processDefinitionDescription**.

After checking the logs, I verified that the query to is fired to the database is not including the column "DESCRIPTION_" from ACT_RE_PROCDEF table. Also, the java interface (HistoricProcessInstance) does not have support for this property.

What is the reason for this behavior?

I also looked at your REST API and I see that after query for process instances you make additional requests to the Engine in order to get those fields. Wouldn't it be better if the engine could also return the value for that field? After all, all you have to do is add a new column from a table that is already joined in the SQL query.

Thank you,
David Lamas.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit dem HistoricProcessInstance-Interface und der Abfrage für historische Prozessinstanzen, die ACT_RE_PROCDEF liest, und vergleiche anschließend die Verarbeitung der Prozessinstanzantwort in der REST API. Erledigt ist die Aufgabe, wenn processDefinitionDescription von der Engine und der REST API konsistent bereitgestellt wird und der zurückgegebene Wert durch Tests abgedeckt ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
api, backend, databases
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.