# Getting assign event for next task before current task completes

**URL:** <https://forum.flowable.org/t/getting-assign-event-for-next-task-before-current-task-completes/3681>\
**Category:** Flowable Engine\
**Created:** [April 5, 2019, 9:50am UTC](https://forum.flowable.org/t/getting-assign-event-for-next-task-before-current-task-completes/3681 "2019-04-05T09:50:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![khushboo](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@khushboo](https://forum.flowable.org/u/khushboo)\
**Post date:** [April 5, 2019, 9:50am UTC](https://forum.flowable.org/t/getting-assign-event-for-next-task-before-current-task-completes/3681/1 "2019-04-05T09:50:16Z")

</div>

Hi,

I have implemented FlowableEventListener interface, which listens for FlowableEngineEventType.TASK\_ASSIGNED event.  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/0/08674ab2a6da327e5a679df559f7f2bfbf495b0f.png)

The flow goes as follows:

1. Launch above process
2. Complete Task1 (using TaskService.complete(String taskId) API)
3. Receive TASK\_ASSIGNED event for parallel assignees in Task2 and Task5

**Problem:** I start receiving TASK\_ASSIGNED events for assignees of Task2 and Task5 before receiving the response of complete API call in 2nd step.

Instead I should start receiving the assign events for next task once the current task is all completed.

Is this as per design or this a bug that next tasks starts getting assigned before completing the current task?
