# Bug in Automation with the template named "Templating" add Tasks on Delete

**URL:** <https://community.fibery.io/t/bug-in-automation-with-the-template-named-templating-add-tasks-on-delete/3804>\
**Category:** Bugs & Issues\
**Created:** [January 14, 2023, 6:35pm UTC](https://community.fibery.io/t/bug-in-automation-with-the-template-named-templating-add-tasks-on-delete/3804 "2023-01-14T18:35:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Louis-FelixBorealys](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@Louis-FelixBorealys](https://community.fibery.io/u/Louis-FelixBorealys)\
**Post date:** [January 14, 2023, 6:35pm UTC](https://community.fibery.io/t/bug-in-automation-with-the-template-named-templating-add-tasks-on-delete/3804/1 "2023-01-14T18:35:48Z")

</div>

Hey all!

Something goes wrong with the template “Templating”. It works well to add a template of tasks when I create a new project like it is supposed to, thanks to this Automation configuration :

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/d/de99c2ec1de197a1dd82bdff23b0a0c48eb3398f.png)

The problem happen when I delete a project. It will add a new batch of tasks to all the projects that still exist in the same category. Should it only trigger when you link an Entity and not unlink en Entity?  
 ![AddTasksOnDelete](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/2/2cf5de1b473ad266a6e6653e0725659d408d797b.gif)

I think this is a bug, but maybe there is some voodoo I don’t grasp yet. I really need this for my team and right now, I cannot take the risk that it will pollute everything we made if someone decide to delete a project.

Thanks for your help! 🙂

LF

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [January 15, 2023, 3:22pm UTC](https://community.fibery.io/t/bug-in-automation-with-the-template-named-templating-add-tasks-on-delete/3804/2 "2023-01-15T15:22:45Z")

</div>

I think you might be right. I’ve asked the devs to check it out.

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [January 16, 2023, 5:03pm UTC](https://community.fibery.io/t/bug-in-automation-with-the-template-named-templating-add-tasks-on-delete/3804/3 "2023-01-16T17:03:29Z")

</div>

There does appear to be a bug. We will update here when there’s a fix.

---

<div class="post-metadata">

**Author:** ![Louis-FelixBorealys](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@Louis-FelixBorealys](https://community.fibery.io/u/Louis-FelixBorealys)\
**Post date:** [January 16, 2023, 5:28pm UTC](https://community.fibery.io/t/bug-in-automation-with-the-template-named-templating-add-tasks-on-delete/3804/4 "2023-01-16T17:28:19Z")

</div>

Glad to see that the Fibery team is on it!

I’m kind of afraid to start populating my dev calendar right now and it’s something we need to do soon to avoid losing business opportunities.

---

<div class="post-metadata">

**Author:** ![Sergey\_Truhtanov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/sergey_truhtanov/32/13986_2.png) [@Sergey\_Truhtanov](https://community.fibery.io/u/Sergey_Truhtanov)\
**Post date:** [January 18, 2023, 3:36pm UTC](https://community.fibery.io/t/bug-in-automation-with-the-template-named-templating-add-tasks-on-delete/3804/5 "2023-01-18T15:36:30Z")

</div>

Hello!  
The issue is fixed and deployed. Please tell if it works ok for you.  
There was indeed an incorrect “link” trigger call in specific case, when lookup field is involved in rule’s trigger.  
Should be fine now.

---

<div class="post-metadata">

**Author:** ![Louis-FelixBorealys](https://avatars.discourse-cdn.com/v4/letter/l/58956e/32.png) [@Louis-FelixBorealys](https://community.fibery.io/u/Louis-FelixBorealys)\
**Post date:** [January 18, 2023, 11:04pm UTC](https://community.fibery.io/t/bug-in-automation-with-the-template-named-templating-add-tasks-on-delete/3804/6 "2023-01-18T23:04:21Z")

</div>

Yes! It works! Many thanks Sergey!!! 😃 😃 😃
