BulkAction refresh/resetTable after queued deletion

I’ve built a custom BulkAction in Filament v4 that queues records deletions in a background job. The job dispatches fine, but I’m struggling with refreshing the table UI afterward without page reload.
2 Replies
Oscar Carvajal Mora
Hi! before anything, for curious, why are you using a job for that? The chunkSelectedRecords method didn't help you? https://filamentphp.com/docs/4.x/tables/actions#improving-the-performance-of-bulk-actions
Marketer
MarketerOP2w ago
I have around 50,000 records for a specific entry. When I run the ForceDeleteBulkAction, it not only deletes the records but also removes their associated images from storage. The problem is: When I try to delete all records at once, it takes a very long time.

Did you find this page helpful?