I’m using the “Display list in a repeating group” workflow step to set a list of things (there are a TON of different options for the list based on a variety of filters, the page the user is on (it’s used in a reusable element across the app), etc. I find this easier to manage via custom event steps rather than conditionals on the RG itself.
My question is > When using this workflow step, am I setting a static list of elements OR am I setting the data source of the RG? Part of setting this list is filtering based on a search input from the user, which can obviously change. Do I need to re-run the workflow every time that input changes or am I actually setting the data source (which would update automatically as the user changes their search query).
This will still be a dynamic search.
The action “Display list in a repeating group” is exatcly for this.
If you Display a list of “female” users in your repeating group of users and one of your users change his gender to male, this user will vanish from this list.
1 Like
Unfortunately I’m not seeing that happen. When I modify my search value, the RG source should update to reflect the new search results based on the new term, but it stays static (unless I insert a workflow step to set the RG list again).
I’ve had a similar problem fetching data without having to reload the page. In my case, I’ve added a header called “date” (or whatever name) and passed the current date/time in UNIX.
The purpose of doing so was to tell Bubble that some data actually changed. This is because Bubble at times caches data to avoid re-fetching as saving WU and can’t tell when the info has changed.
I’d recommend in your case adding a parameter of date type to your custom event in order to override Bubble’s engine.
I’d also recommend using the ‘Clear List’ action before setting new info and set a break point in the debugger to see what happens. If this doesn’t solve your issue share screenshot of this step on the debugger to inspect further.