# Is it possible to change the state of a running process?

**URL:** <https://forum.flowable.org/t/is-it-possible-to-change-the-state-of-a-running-process/3331>\
**Category:** Flowable Engine\
**Created:** [January 28, 2019, 9:18am UTC](https://forum.flowable.org/t/is-it-possible-to-change-the-state-of-a-running-process/3331 "2019-01-28T09:18:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![harimohanr](https://avatars.discourse-cdn.com/v4/letter/h/9de0a6/32.png) [@harimohanr](https://forum.flowable.org/u/harimohanr)\
**Post date:** [January 28, 2019, 9:18am UTC](https://forum.flowable.org/t/is-it-possible-to-change-the-state-of-a-running-process/3331/1 "2019-01-28T09:18:22Z")

</div>

I have a flowable process running which has a call activity. The first task in the call activity (sub process) encountered an error and it is handled using a error catch event and the main process is still running. I need to restart the call activity alone in the running process. Is it possible? In other words, I want to change the state of a process in execution at run time. Is that possible?

---

<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:** [January 28, 2019, 11:15am UTC](https://forum.flowable.org/t/is-it-possible-to-change-the-state-of-a-running-process/3331/2 "2019-01-28T11:15:17Z")

</div>

Hi,

yes it is.  
Have a look on [ProcessInstanceMigrationCallActivityTest](https://github.com/flowable/flowable-engine/blob/7489d2f52fe637822d9dabd45775452249603802/modules/flowable-engine/src/test/java/org/flowable/engine/test/api/runtime/migration/ProcessInstanceMigrationCallActivityTest.java).

Regards  
Martin
