ApexSensei

All drills

Asynchronous Apex: Apex practice drills

Future methods, Queueable, Batch and Schedulable Apex.

Advanced · Check and Run with Apex Path ($19 a month).

  1. Complete a Contact review in the future Intermediate · 15 min

    A @future method runs later, in its own transaction.

  2. Carry Account work in a Queueable Intermediate · 18 min

    A Queueable job keeps state in its fields and runs execute later, outside the current transaction.

  3. Build a Batch lifecycle Advanced · 20 min

    Batch Apex splits a big job into chunks.

  4. Keep counts across Batch transactions Advanced · 25 min

    start, each execute and finish run in separate transactions.

  5. Schedule an Account review Advanced · 22 min

    Schedulable Apex runs execute at times set by a cron string.

  6. Make a Queueable retry idempotent Advanced · 25 min

    A retry is idempotent when running it twice has the same effect as once.

  7. Chain a second Queueable Advanced · 20 min

    A Queueable can start another Queueable with System.enqueueJob.

  8. Attach a Queueable Finalizer Advanced · 22 min

    A Queueable can also implement Finalizer.

  9. Publish a Platform Event Beginner · 10 min

    A Platform Event is a named message, not a row you query later.

Start practicing free