flowable / flowable/flowable-engine

Property missing when querying historic process instances

Open
#1,685 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
7h 8m
Merged PRs (30d)
2

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.