Client event notifications not sending with attachments of 3MB or more

  • 16 February 2021
  • 0 replies
  • 14 views

Userlevel 5
Badge +20
 

Client event notifications not sending with attachments of 3MB or more

kbt139334

PRODUCT
K2 blackpearl 4.7
BASED ON
K2 blackpearl 4.7
TAGS
K2 Notification Event
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

The user can receive a task for approval but can not receive email notifications. No errors appear in K2 Workspace.

Symptoms

The following error was found in the EventBus.ClientRecorderError table in the K2 database:

 

"System.Messaging.MessageQueueException (0x80004005): Insufficient resources to perform operation."

 

The error message indicates that the messages that K2 is trying to send is hitting the size limit imposed by MSMQ (4MB):

http://blogs.msdn.com/b/johnbreakwell/archive/2007/08/22/why-is-there-a-4mb-limit-on-msmq-messages.aspx

 

Thus client event notifications won't be sent with attachments of 3MB or more.

 

Resolution

This is a Microsoft limitation. To workaround this issue:


1. Send attachments in the Email Event instead.

2. Add a link in the notifications for your users to access the attachments in your server, instead of attaching the files to the notification.


0 replies

Be the first to reply!

Reply