3

When using Queueable class for DML operation, what are the limits impose? Is it 10,000 dml rows and 50,000 rows retrieved from SOQL?

In fact i was trying to implement the queuable interface in a trigger, so as that, when i run into too many dml rows, i can complete the dml using a queueable class, as i assume that if it is asynchronous, then it is not the same transaction, thus the number of dml operations is reset. Am i wrong?

| improve this question | | | | |
4

You're correct, performing your DML operations inside a Queueable execution is a separate transaction so you will have a fresh set of governor limits.

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.