Dynamics 365 Business Central Search
Overview
This Snap searches for the required data for a specific entity in the Business Central application.
Supported Accounts
- This is a Read-type Snap.
Works in Ultra Tasks

Known issues
- The Company field in the Business Central Search Snap is optional for specific entities, such as Subscriptions, and it is mandatory for the remaining entities. Therefore, if the field is left blank, the Snap displays the following error:
Error while executing the request.
Workaround: Specify the Company name for entities where it is mandatory. - When fetching Read related entities in the Business Central Search Snap for a specific Entity with selected Output fields, the Snap displays an error if you do not specify all the key fields in the Output fields section.
Error: Unexpected end-of-input: expected close marker for Object.
Workaround: Ensure you provide all the key fields in the Output fields. - The Business Central Search Snap does not support the following entities:
applyVendorEntries,attachments,contactsInformation,dimensionSetLines,pdfDocument,pictures. The Snap displays an error when configured with these entities.Error: Failure: Error when executing the request. Reason: (Application_DialogException) You must specify a parentId in the request body. [HTTP/1.1 400 Bad Request]
Resolution: Verify the provided details.
Snap views
| Type | Description | Examples of upstream and downstream Snaps |
|---|---|---|
| Input | This Snap supports a minimum of zero and a maximum of one document input view. | |
| Output | This Snap supports a minimum of one and a maximum of one document output view. Returns the search results for the specified entity. | |
| 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 Search Example: BC Search |
| 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 |
| Filter condition | Use this field set to specify the filter criteria based on which entities are returned. |
| Type
|
Select the standard OData filter logical operator to use for the filter condition. Default value: and Example: or |
| Attribute
|
Specify or select the field name to filter on. For comparison operators, the attribute must be of integer type. Default value: N/A Example: displayName |
| Operator
|
Select the standard OData filter operator to use for the filter condition. Default value: equal Example: contains |
| Value
|
Specify the value for the attribute to filter on. Default value: N/A Example: John Doe |
| Query parameter | Use this field set to specify the search query parameters and their values. |
| Parameter
|
Specify or select the query parameter. Supported values: Note: If you use
top, its value must be less than the Page size value.Default value: N/A Example: top |
| Value
|
Specify the value associated with the query parameter. Default value: N/A Example: 10 |
| Order by | Use this field set to specify the order in which the items are returned. |
| Attribute
|
Specify or select the attribute to order the results by. Default value: N/A Example: displayName |
| Sort order
|
Select the sort order for the results. Default value: ascending Example: descending |
| Output fields | Use this field set to specify the fields you want the Snap to display in the output. |
| Output field
|
Specify or select the fields that you want to display in the output. Default value: N/A Example: givenName |
| Error out on no results
|
Select this checkbox to display the original document along with the error message Note: If you deselect the checkbox, the Snap ignores the empty results and shows nothing in the output view.
Default status: Deselected |
| Page size
|
Specify the page size to fetch records quickly for larger data sets. Default value: 100 Example: 50 |
| Start page number
|
Specify a page number from which the loading of records should begin through the last record or load until the value specified in the Max page number field. Default value: 1 Example: 10 |
| Max page number
|
Specify the page number after which the Snap stops loading records. Note: A value of
0 reads all the pages.Default value: 0 Example: 5 |
| Timeout (seconds)
|
Specify the timeout to determine whether the connection is alive and also the timeout when waiting for a response through a 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 Dynamics 365 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: Execute only Example: Validate & Execute |
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. |