Apex: I'm shoving all the DML into a queued job, but still get "Uncommited work pending"

Subscribers:
4,130
Published on ● Video Link: https://www.youtube.com/watch?v=31Z_7V3jQ-k



Duration: 2:10
1 views
0


Apex: I'm shoving all the DML into a queued job, but still get "Uncommited work pending"
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(salesforce.stackexchange.com/users/91163/pilat)pilat |
(salesforce.stackexchange.com/users/2984/sfdcfox)sfdcfox |
A special thanks goes out to the (https://salesforce.stackexchange.com/questions/390409/apex-im-shoving-all-the-dml-into-a-queued-job-but-still-get-uncommited-work)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

dml queueable-apex apex







Tags:
dml
queueable-apex
apex