Hey all, Bubble’s documentation says it’s “efficient” with regards to searches, meaning that if you have the same search on multiple elements on a page, it will only perform it once. Do backend workflows work the same way? Let’s say you have the same search on three actions, for example, are they all gonna cost you WU?
Yes, every search in a workflow action is charged, there is no caching for workflow data
I guess there’s no need for Bubble to optimize this since I’m going to pay for it anyway.
Thanks.
It’s up to us. If you need the same search 3 times in the same backend workflow, send the search results as a parameter, or do the search in 1 action and reference that in the other actions.
Not possible as custom events can never ignore privacy rules.
Can be used situationally, sure. For example, if I have an action that Makes changes to a Thing and the action never triggers because the condition isn’t met, can I use “Result of step is not empty?”
You asked about backend workflows, not custom triggers
Don’t put a condition onto the action that finds the list of things that is needed for other actions in the series
I asked because that’s what I assumed you meant by “send the search results as a parameter” (return data from custom event). Parameters can’t be dynamic expressions, how would I use a search that’s only supposed to take place on the backend as a parameter?
No, this is desired behavior. My point was, let’s say I have an Action 1 that Makes changes to a thing based on a search result. Action 2 sends an Email based on that same search result. Would “Result of step 1 (Action 1) is empty” work for Action 2’s condition? That way I wouldn’t have to repeat the search twice.
This topic was automatically closed after 70 days. New replies are no longer allowed.