Forum Academy Marketplace Showcase Pricing Features

Delete a list of things

Hey,

I need to Delete a list of things of many Data Types.

For example, when a button is clicked, a backend workflow is triggered to delete many elements.

  • 10 entries from Data Type 1
  • 1 entry from Data Type 2
  • 1,000 entries from Data Type 3
  • 1,000 entries from Data Type 4
  • 1,500 entries from Data Type 5
  • 1,000 entries from Data Type 6
  • 20 entries from Data Type 7
  • 20 entries from Data Type 8
  • 1,000 entries from Data Type 9
  • 2,000 entries from Data Type 10

When I delete this amount of elements, can the action Delete a list of things can do this? Or is it better to have a recursive workflow and delete one by one?

Thanks in advance :slightly_smiling_face: :computer:

Hello,

Recursive workflows can be a great way to operate on large lists. A recursive workflow limits the capacity impact of working with large lists by ensuring Bubble can go through the list one by one, or in small chunks until the list is exhausted. This prevents data operations from being “stacked” on top of each other, running in parallel, and instead runs them in succession.

Some great information on Recursive Workflows can be found here: Recursive Scheduled Workflows - Bubble Docs

2 Likes

Thanks, @malcolm,

I will try to use recursive workflows for lists than “make changes to a list of things” or “delete a list of things”

1 Like