# Failed to execute Action: Loop is detected (while it's not a loop)

**URL:** <https://community.fibery.io/t/failed-to-execute-action-loop-is-detected-while-its-not-a-loop/5840>\
**Category:** Get Help\
**Created:** [February 12, 2024, 10:50pm UTC](https://community.fibery.io/t/failed-to-execute-action-loop-is-detected-while-its-not-a-loop/5840 "2024-02-12T22:50:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuri\_BC](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/yuri_bc/32/8803_2.png) [@Yuri\_BC](https://community.fibery.io/u/Yuri_BC)\
**Post date:** [February 12, 2024, 10:50pm UTC](https://community.fibery.io/t/failed-to-execute-action-loop-is-detected-while-its-not-a-loop/5840/1 "2024-02-12T22:50:17Z")

</div>

I have a chain of entities in db Operation: Operation A is related to Operation B through field ‘Next Operation’.

### First rule:

When: field Timestamp is updated  
Then: add new entity of db Rule Run, set its field "Next Operation’ to the entity of Parent Operation field ‘Next Operation’.

### Second rule:

When: entity of db Rule Run created  
Then: do something and update field ‘Timestamp’ of entity in field Next Operation.

### What happens:

1. I manually set the TimeStamp of Operation A and the First rule is triggered
2. Created Rule Run 1 has parent entity Operation A
3. Rule Run 1 triggers the First rule again on Operation B → "Failed to execute Action ‘Add Rule Runs item’, Loop is detected\*.

However that is not a loop because the rule is triggered on another entity.

---

<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:** [February 12, 2024, 11:32pm UTC](https://community.fibery.io/t/failed-to-execute-action-loop-is-detected-while-its-not-a-loop/5840/2 "2024-02-12T23:32:53Z")

</div>

Loop detection merely means that an automation has caused a cascade of events that has resulted in the same automation being triggered again. It doesn’t matter whether that re-triggering relates to the same entity or not.

---

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [February 13, 2024, 3:40am UTC](https://community.fibery.io/t/failed-to-execute-action-loop-is-detected-while-its-not-a-loop/5840/3 "2024-02-13T03:40:00Z")

</div>

Also relevant:

- [False detection of "infinite loop" in Formula field](https://community.fibery.io/t/false-detection-of-infinite-loop-in-formula-field/2972)
- [New template - Finance 💰 - #10 by Matt\_Blais](https://community.fibery.io/t/new-template-finance/2685/10)

---

<div class="post-metadata">

**Author:** ![Yuri\_BC](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/yuri_bc/32/8803_2.png) [@Yuri\_BC](https://community.fibery.io/u/Yuri_BC)\
**Post date:** [February 13, 2024, 8:27am UTC](https://community.fibery.io/t/failed-to-execute-action-loop-is-detected-while-its-not-a-loop/5840/4 "2024-02-13T08:27:36Z")

</div>

Thank you both for that information. I hope this limitation will be resolved soon, it prevenst a lot of useful solutions.

In the meantime, I solved it by creating enough rules as I expect there will be chained automations, which works:

 ![chrome_LJgnZ0uI0r](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/b/b1abd8325f22ff4f1a88f18133c7e23cbe098aea.png)
