Avoid Queueable Without Finalizer

Impact Area

Manageability

Severity

Medium

Affected Element

Apex Class

Rule ID #

SF-AVOID-QUEUEABLE-WITHOUT-FINALIZER

Impact #

Without a Finalizer, failures in Queueable actions cannot be recovered, leading to unhandled errors and potential system issues.

Remediation #

Attach a Finalizer in the execute method using System.attachFinalizer(Finalizer f) to enable robust error handling.

Time to fix

30 min

Was it helpful ?
Table of contents

THE AI CODE GOVERNANCE BRIEF

Sign up for new updates!