I am having an issue when starting a workflow. I receive an error message stating:
Something went wrong. To try again, reload the page and then start the workflow
Upon investigation of the logs I discovered the following error message:
Microsoft.Workflow.Client.WorkflowQuotaExceededException: Cannot start more instances because the size of the topic has exceeded the quota limit.
I've had a look in Event Viewer and found more detailed error information:
Error processing management request. Method: POST, RequestUri: http://SERVERNAME:12291/NotificationManagement/$Notifications/?$expectedScopeRevision=0, Error: System.OperationCanceledException: The maximum entity size has been reached or exceeded for Topic: 'WORKFLOWDEFAULTNAMESPACE:TOPIC:SHAREPOINT/DEFAULT/0E64F02E-16DC-4276-B2E3-56677368A77F/1670A56B-743C-419A-803E-9627209B1438/WFTOPIC'. Size of entity in bytes:6547030977, Max entity size in bytes: 6442450944.
Microsoft.ServiceBus.Messaging.QuotaExceededException: The maximum entity size has been reached or exceeded for Topic: 'WORKFLOWDEFAULTNAMESPACE:TOPIC:SHAREPOINT/DEFAULT/0E64F02E-16DC-4276-B2E3-56677368A77F/1670A56B-743C-419A-803E-9627209B1438/WFTOPIC'. Size of entity in bytes:6547030977, Max entity size in bytes: 6442450944.
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The maximum entity size has been reached or exceeded for Topic: 'WORKFLOWDEFAULTNAMESPACE:TOPIC:SHAREPOINT/DEFAULT/0E64F02E-16DC-4276-B2E3-56677368A77F/1670A56B-743C-419A-803E-9627209B1438/WFTOPIC'. Size of entity in bytes:6547030977, Max entity size in bytes: 6442450944.
I have found a blog on MSDN with the same issue however they are using Azure Service Bus as opposed to Service Bus for Windows. They suggest adjusting the TTL for the topic to 2 days but I have been unable to find out how to do this or if this will even help.
Any help would be greatly appreciated.