You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a flow is created using the Event Hook trigger, with "create" scope and includes the Directus Activity table, a infinite loop is created, because records are created in that table when ever flows are executed.
The outcome is the project eventually crashes.
There are similar issues discussed but I don't see a use case where a flow should execute based on the "Directus Activity" table as it would always create an infinite loop.
To Reproduce
Create Flow.
Trigger: "Event Hook"
Type: "Action"
Scope: "Create, Update"
Collections: Directus Activity and Any other
Once this flow is triggered, it will continue executing until the project crashes. The flow then needs to be removed immediately otherwise the infinite loop begins again.
Hosting Strategy
Directus Cloud
The text was updated successfully, but these errors were encountered:
Infinite loops are not something we can completely prevent however you can prevent this by disabling the activity tracking for the flow that is watching that collection
Just experienced this myself and had no clue until I tracked it down to me not completing a flow. It actually broke DO App service. They had to manually reset a service. 🥼
Checklist
Describe the Bug
I'm using community cloud. ~ v 9.21.2
When a flow is created using the Event Hook trigger, with "create" scope and includes the Directus Activity table, a infinite loop is created, because records are created in that table when ever flows are executed.
The outcome is the project eventually crashes.
There are similar issues discussed but I don't see a use case where a flow should execute based on the "Directus Activity" table as it would always create an infinite loop.
To Reproduce
Create Flow.
Trigger: "Event Hook"
Type: "Action"
Scope: "Create, Update"
Collections: Directus Activity and Any other
Once this flow is triggered, it will continue executing until the project crashes. The flow then needs to be removed immediately otherwise the infinite loop begins again.
Hosting Strategy
Directus Cloud
The text was updated successfully, but these errors were encountered: