---
schema_version: "1"
id: fb656ed38b214035d8708e11c739f4470bec563fdf2d60bbf792aace96d8b666
title: Edit an Asynchronous Callout Class Definition
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/external_services_async_ops_edit.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.external_services_async_ops_edit.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8da8974d48a58754eba41360fe7df7bb811faab110baf499077026f90a46d89e
description: To edit an External Services asynchronous callback class, a related background operation job can't be running.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# 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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

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.
```