Troubleshoot Your Business Central Automated Workflows
When you connect Business Central with Power Automate to create automated workflows, you might run into error messages. This article provides suggested solutions to recurring problems.
Flow doesn't run on all records created or changed
If an event creates or changes many records, the flow doesn't run on some or all records.
Currently, there's a limit on how many records a flow can process. If more than 1000 records are created or changed within 30 seconds, the flow isn't triggered.
For developers, the flow triggering is done via webhook notifications, and this limitation is due to the way the Business Central connector handles
collection notifications. Learn more at Working with Webhooks in Dynamics 365 Business Central in the Developer and Admin help.
"The response from the Business Central service is too large" error
When using an action that interacts with records (such as Create record (V3) and Get record (V3)), Power Automate might display an error similar to this one:
The response from the Business Central service is too large
Even though Business Central has no set limit on the size of records returned by APIs, the Dynamics 365 Business Central connector for Power Automate can handle only records up to 8 MB.
All the Business Central APIs provided by Microsoft return records under this limit, but APIs provided by partners might not. If you see an error "The response from the Business Central service is too large", reach out to the partner who created the API you're using.
"Entity set not found" error
When you create a new Power Automate flow using a Business Central approval trigger, such as When a purchase document approval is requested, you might get an error message similar to this one:
Entity set not found: \<name\>
\<name\>, is the service name of the missing web service, such as workflowWebhookSubscriptions or workflowPurchaseDocumentLines.
Using Power Automate for approvals requires certain page and codeunit objects to be published as web services. By default, most of the required objects are published as web services. But in some cases, your environment may have been customized so these objects are no longer published.
Go to the Web Services page and make sure the following objects are published as web services. There should be an entry in the list for each object, with the Published check box selected.
|Object Type||Object ID||Object Name||Service Name|
|Page||6405||Purchase Document Line Entity||workflowPurchaseDocumentLines|
|Page||6403||Sales Document Line Entity||workflowSalesDocumentLines|
The Service Name value must be exactly as shown in the table. Don't change or translate the service name.
Learn more about publishing web services at Publish a Web Service.