Case Management Framework interferes with event notifications

  • 16 February 2021
  • 0 replies
  • 2 views

Userlevel 5
Badge +20
 

Case Management Framework interferes with event notifications

KBS100227

PRODUCT
K2 blackpearl 4.7
BASED ON
K2 blackpearl 4.7
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

K2 SmartActions are failing randomly every so often when a user replies to a K2 task email to complete it. The following error occurs :

"The server could not process your message due to an internal error.
Please contact support. ({date}) The full error from the K2 server is 'Exception of type 'SourceCode.SmartObjects.Client.SmartObjectException' was thrown.'."

This does not happen to all replies and seem to be at random.

Symptoms

Enabled full SmartObject logging on the environment.
The issue no longer occurred when kicking off the workflow and responding with a SmartAction mail with more than 100 characters in the subject field.
Disabled the full SmartObject logging and the error re-occurs.

Turning on full K2 Hostserver logging to get more info on the error displayed:
"The 'Subject' property has a too long value for type Text. The maximum length allowed is 100 characters."

Right above the error it was noted [Case Management] then the error displayed pointing us to investigate "Case Management Framework" which is a custom third-party tool.

Opening the CMF SmartObject via the tester tool and verifying that CMF was listening to all notification mails that get sent out and could conclude that "Case Management Framework" was the issue.

 

 

Resolution

Changing the Subject property in Designer from Text to Memo resolves this error from occurring.

Due to the nature of Case Management Framework, it is the thread handling timing that is most likely the cause of this issue not occuring when full SmartObject logging is enabled.

 


0 replies

Be the first to reply!

Reply