# Using two event sub-process

**URL:** <https://forum.flowable.org/t/using-two-event-sub-process/4539>\
**Category:** Uncategorized\
**Created:** [September 18, 2019, 12:31pm UTC](https://forum.flowable.org/t/using-two-event-sub-process/4539 "2019-09-18T12:31:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yepengchen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/yepengchen/32/1307_2.png) [@yepengchen](https://forum.flowable.org/u/yepengchen)\
**Post date:** [September 18, 2019, 12:31pm UTC](https://forum.flowable.org/t/using-two-event-sub-process/4539/1 "2019-09-18T12:31:57Z")

</div>

hi,I want to use two event sub-process in my process,one sub-process is drived by other one sub-process.I run the process,but only one sub-process runs,other one don’t work,and then Main process ends.  
This is my process diagram.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/0/0ec1875542b58494982b3fe2d4b78120cf5f2534.png)

this is completed Task,T03 doesn’t run.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/5/5188335ab99ab12718c072efd1164d82ce924bce.png)

How should I solve it?

---

<div class="post-metadata">

**Author:** ![wwitt](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/wwitt/32/706_2.png) [@wwitt](https://forum.flowable.org/u/wwitt)\
**Post date:** [September 18, 2019, 9:01pm UTC](https://forum.flowable.org/t/using-two-event-sub-process/4539/2 "2019-09-18T21:01:06Z")

</div>

I’m not sure why this doesn’t work (I’ll have to dig into the source a bit to see), but one way to solve this is to wrap the tasks and “call2” signal call in a subprocess that contains an event-subprocess like so ([here](https://github.com/unamanic/forum-multiple-event-supbrocess-test) is a project that does just that):

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/7/7a2d25aaa19a6a1ac013dbfed17026a7d3400a04.png)

But that doesn’t seem very intuitive. Perhaps you can describe what you’re trying to achieve so we might be able to suggest a different way to model it.

---

<div class="post-metadata">

**Author:** ![yepengchen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/yepengchen/32/1307_2.png) [@yepengchen](https://forum.flowable.org/u/yepengchen)\
**Post date:** [September 19, 2019, 3:17am UTC](https://forum.flowable.org/t/using-two-event-sub-process/4539/3 "2019-09-19T03:17:20Z")

</div>

Thank you for your reply.

In the end, I want to do a process like this.Two sub-processes call each other.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/4/4dbb912b37868c957bb8151a6fbe6f56f31bbd76.png)

I am not sure if it can execute successfully.The current situation is executed to T02, the process ends.

Is there some solution?

---

<div class="post-metadata">

**Author:** ![yepengchen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/yepengchen/32/1307_2.png) [@yepengchen](https://forum.flowable.org/u/yepengchen)\
**Post date:** [September 19, 2019, 11:23am UTC](https://forum.flowable.org/t/using-two-event-sub-process/4539/4 "2019-09-19T11:23:33Z")

</div>

I solve this，just make the event sub-process uninterrupted.
