flowable / flowable/flowable-engine

Property missing when querying historic process instances

Aperta
#1,685 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
9.5k
Fork
2.9k
Merge medio
7h 8m
PR unite (30g)
2

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.