Collection fetched on every page because it is called by a global workflow?

I I have a modal that is on every page. The modal deletes an item through a workflow. The workflow has a condition:

  • If on Page 2 execute “update Page 2”
  • “Update page 2” calls “fetch collection” for Collection X

The issue is that Weweb automatically determines that this collection should be fetched for some reason. Which does not make sense because the workflow calls fetch collection. Shouldn’t it be marked as not to be fetched?

My issue is that I started adding global error catching and now I get an error. I know that I have the option not to fetch automatically, but it seems like the behavior is wrong for auto fetch…

Hi @wealthsyndy

Have you tried unchecking “Fetch this collection automatically”?

Yes I know I can uncheck it but then I will have to fetch it on the page that I need it. I was just wondering why would the automatic fetch think that the collection is used if the only action happening is the fetching of a collection. Does not seem like this should be the standard fetching behavior