Edit an Asynchronous Callout Class Definition

To edit an External Services asynchronous callback class, a related background operation job can't be running.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions

The Apex callback class is editable when:

  • the job is completed; an async response is received and the callback executes successfully
  • the job triggers an error when there is an initial response failure
  • the job triggers an error when the asynchronous response can’t be processed successfully
  • the job is manually cancelled on the Background Operations page

If the background operation job is still running (not yet completed), and hasn't thrown an error, then editing or deleting the respective Apex callback handler class definition triggers an error message and the edits aren't saved. For example:

This External Service callback handler class has 
background operation jobs running: 
<background operation ids>. 
Retry when there are no other jobs in progress.