flowable / flowable/flowable-engine
Property missing when querying historic process instances
- 主要言語
- Java
- スター
- 9.5k
- フォーク
- 2.9k
- 平均マージ
- 7時間 8分
- マージ済み PR(30日)
- 2
説明
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
HistoricProcessInstance インターフェースと ACT_RE_PROCDEF を読み取る履歴プロセスインスタンスのクエリから始め、REST API のプロセスインスタンスのレスポンス処理と比較してください。完了の条件は、processDefinitionDescription がエンジンと REST API で一貫して公開され、返される値のテストカバレッジがあることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api, backend, databases
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100