# Act\_hi\_procinst table

**URL:** <https://forum.flowable.org/t/act-hi-procinst-table/3896>\
**Category:** Flowable Engine\
**Created:** [May 15, 2019, 1:52pm UTC](https://forum.flowable.org/t/act-hi-procinst-table/3896 "2019-05-15T13:52:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssapunkova](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/ssapunkova/32/768_2.png) [@ssapunkova](https://forum.flowable.org/u/ssapunkova)\
**Post date:** [May 15, 2019, 1:52pm UTC](https://forum.flowable.org/t/act-hi-procinst-table/3896/1 "2019-05-15T13:52:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [May 15, 2019, 2:29pm UTC](https://forum.flowable.org/t/act-hi-procinst-table/3896/2 "2019-05-15T14:29:28Z")

</div>

Hi Snezhana,

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

> <https://github.com/flowable/flowable-engine/blob/7489d2f52fe637822d9dabd45775452249603802/modules/flowable-engine/src/test/java/org/flowable/engine/test/api/runtime/RuntimeServiceTest.java#L425>

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

Regards  
Martin

---

<div class="post-metadata">

**Author:** ![ssapunkova](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/ssapunkova/32/768_2.png) [@ssapunkova](https://forum.flowable.org/u/ssapunkova)\
**Post date:** [May 15, 2019, 3:19pm UTC](https://forum.flowable.org/t/act-hi-procinst-table/3896/3 "2019-05-15T15:19:15Z")

</div>

Hi, Martin.

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

Kind regards,  
Snezhana
