# How can I reassing a task to a superior manager when a timeout is fired?

**URL:** <https://community.ofelia.com/t/how-can-i-reassing-a-task-to-a-superior-manager-when-a-timeout-is-fired/7570>\
**Category:** Q&A\
**Created:** [6 July 2016 14:39 UTC](https://community.ofelia.com/t/how-can-i-reassing-a-task-to-a-superior-manager-when-a-timeout-is-fired/7570 "2016-07-06T14:39:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![josegante](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@josegante](https://community.ofelia.com/u/josegante)\
**Post date:** [6 July 2016 14:39 UTC](https://community.ofelia.com/t/how-can-i-reassing-a-task-to-a-superior-manager-when-a-timeout-is-fired/7570/1 "2016-07-06T14:39:48Z")

</div>

Hi experts,

I’m using Bonita Community 7.2.3. I’m implementing an approval process with a hierarchy.

I’d need that, when a task is assigned to a manager, and a timeout is fired, that task should be assigned to the upper manager in the hierarchy, and un-assigned from current manager.

Can you provide some clues, please?

Thanks in advance,  
Jose.

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [7 July 2016 19:53 UTC](https://community.ofelia.com/t/how-can-i-reassing-a-task-to-a-superior-manager-when-a-timeout-is-fired/7570/2 "2016-07-07T19:53:11Z")

</div>

Use a interrupting timer event to move the process from one user to the next.

regards  
Seán

_PS: If this reply answers your question, please mark as resolved._

---

<div class="post-metadata">

**Author:** ![josegante](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@josegante](https://community.ofelia.com/u/josegante)\
**Post date:** [8 July 2016 05:56 UTC](https://community.ofelia.com/t/how-can-i-reassing-a-task-to-a-superior-manager-when-a-timeout-is-fired/7570/3 "2016-07-08T05:56:25Z")

</div>

Thanks for your help Sean.

I’ve implemented this:

[https://josegante.tinytake.com/sf/ODA2NTk5XzM1ODc0Mjk](https://josegante.tinytake.com/sf/ODA2NTk5XzM1ODc0Mjk)

![Image][Image]   
[Image]: [https://josegante.tinytake.com/sf/ODA2NTk5XzM1ODc0Mjk](https://josegante.tinytake.com/sf/ODA2NTk5XzM1ODc0Mjk)

And successfully escalates task to the next approver both when timeout or when there’s an approval.

My doubt here is the case of timeout, as the task is escalated but it’s still assigned to approver1. So just after the timeout there’re 2 alive tasks. Is not possible to un-assign the task?

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [10 July 2016 21:50 UTC](https://community.ofelia.com/t/how-can-i-reassing-a-task-to-a-superior-manager-when-a-timeout-is-fired/7570/4 "2016-07-10T21:50:39Z")

</div>

In this case I would change to a non-interrupting timer (so it doesn’t stop the process) link this to a new service task Assign-to-Manager with does the re-assignment of the ‘broken’ human task. followed by a simple End.

By doing what you’ve done, the sequence is clear you are generating a new version of the task…which is not what you want.

BPM is literal, if you go back you will start a new version of the task, not alter the current one.

regards

---

<div class="post-metadata">

**Author:** ![josegante](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@josegante](https://community.ofelia.com/u/josegante)\
**Post date:** [11 July 2016 08:22 UTC](https://community.ofelia.com/t/how-can-i-reassing-a-task-to-a-superior-manager-when-a-timeout-is-fired/7570/5 "2016-07-11T08:22:27Z")

</div>

Thanks for your help Sean.  
So… in this new service task Assign-to-Manage you comment… how can I do the re-assignment?
