Dynamics 365 Business Central Delete
Overview
You can use this Snap to delete records from a specific entity in the Business Central application.
Supported Accounts
- This is a Write-type Snap.
Works in Ultra Tasks

Prerequisites
- A valid Business Central Access Token Account or Business Central OAuth2 Account with the required permissions.
Limitations
- The Business Central Delete Snap supports a maximum Batch size of 100.
- The Business Central Create, Update, and Delete Snaps do not support the respective operations for a few entities, such as Account, and display an exception when creating, updating, or deleting operations. Refer to API documentation for Business Central for more information about API limitations.
Known issues
- The Business Central Delete Snap displays the following errors when you run the batch process with the error view enabled: 500 Internal Server Error, Socket timeout error, and Read timed out error. Increase the Timeout value to 500 or more and decrease the batch size while keeping the default retry properties.
Snap views
| Type | Description | Examples of upstream and downstream Snaps |
|---|---|---|
| Input | This Snap supports a minimum of one and a maximum of one document input view. Requires user data as a JSON document. | |
| Output | This Snap supports a minimum of one and a maximum of one document output view. Displays a success message when the record is deleted. | |
| Learn more about Error handling. | ||
Examples
Snap settings
| Field/Field set | Description |
|---|---|
| Label*
|
Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline. Default value: Dynamics 365 Business Central Delete Example: Business Central Delete |
| Company
|
Specify the company registered with the Business Central application. Default value: N/A Example: My Company |
| Entity*
|
Specify the OData entity object. Default value: N/A Example: employees |
| Primary key* | Use this field set to specify the primary key that uniquely identifies the rows. |
| Key
|
Specify or select the primary key from which you want to delete the record. Note: More than one primary key can exist for an Entity. Ensure that you provide key-value pairs for the primary keys associated with a specific entity. If you do not specify, the Snap fails. For example, if you have four Primary keys in an entity, then you must pass the value for every field that you want to delete. If you use only one of the primary keys, the Snap fails.
Default value: N/A Example: Id |
| Value
|
Specify the value of the key for which you want to delete the record. Default value: N/A Example: 2998d72e-fac9-ed11-94cc-000d3a220b2f |
| Batch type
|
Choose the operation you want for batching, which is applicable only when the Batch size is more than 1:
Default value: Stop-On-Error Example: Transactional |
| Batch size
|
Specify the batch size to delete the records in batches from the application. Default value: 100 Example: 50 |
| Timeout (seconds)
|
Specify the timeout to determine whether the connection is alive and also specify the timeout when waiting for a response through the socket. Default value: 60 Example: 100 |
| Number of retries
|
Specify the maximum number of attempts to be made to receive a response. Note: The number of retries are disabled if the value is 0.
Default value: 0 Example: 5 |
| Retry interval (seconds)
|
Specify the amount of time in seconds between retry attempts. Default value: 1 Example: 5 |
| HTTP header | Use this field set to define the HTTP key-value pairs to pass to the Business Central instance. |
| Key
|
Specify the key for the HTTP header. Default value: N/A Example: Accept |
| Value
|
Specify the value for the HTTP header. Default value: N/A Example: application/json;odata.metadata=full |
| Snap Execution
|
Choose one of the three modes in
which the Snap executes. Available options are:
Default value: Validate & Execute Example: Execute only |
Troubleshooting
| Error | Reason | Resolution |
|---|---|---|
| Number of requests exceeded the limit of 6000 over the time window of 300 seconds. | Requests exceeded the limit of 6000 over the time window of 300 seconds. | Decrease the batch size and retry. Refer to Service protection API limits for more information about the error messages. |
| Too many Requests - 429 | Too many requests were sent to the Business Central endpoint. | The Snap includes retry-after with <number of seconds> in the response header and automatically retries. Wait for the retry to succeed. |