Act_hi_procinst table

#1

Hi,

I am looking at the act_hi_procinst table.
Am I right in the assumption that when we have end_time value (process has ended) and no value for end_act_id (process did not end in activity), then the process was deleted?

Thanks,
Snezhana

#2

Hi Snezhana,

The simplest answer is yes.
To obtain little bit context you can find a jUnit test testing runtimeService.deleteProcessInstance here

There is not an assertion that endActivityId is null but it is.

Regards
Martin

#3

Hi, Martin.

I might contribute the assertion in the test if this is the expected behavior. Thanks!

Kind regards,
Snezhana