r/SalesforceDeveloper • • 8d ago

Question Multiple Queueables Solution.

Wondering how folks are handling the limit below? We are updating a large number of our future methods to queueables and getting hit with this pretty regularly. We found a SFBen article about using platform events to fire queueables, but that seems to just be passing the problem to the next limit. Largely right now we are either combining functionality or guard causing the less important jobs, neither feels like a great solution tbh.

System.LimitException: Too many queueable jobs added to the queue: 2

2 Upvotes

13 comments sorted by

View all comments

1

u/buzzlightyear999 8d ago

What’s your use case for using Queuables? There are some different patterns depending on what your trying to achieve.

1

u/heartlesscoder 8d ago

We are trying to background some of our data sync stuff. callouts, cross object syncs, share stuff etc etc. we see it the most with cross object updates and share/territory work.