<{{Subtitle_Weight}} class="prominent-subhead {{Show_Subtitle}}"> {{Header_Subtitle}}

Code Fix: An Item Reference value results in an error in K2 transaction logging

~~repeating-content.html~~
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 Description
Given a workflow containing an Item Reference, where the value of the Item Reference is greater than 256 characters, an error occurs during the K2 transaction logging.

Error Message
An error stating "String or binary data would be truncated" displays in the Server.Log table .

Cause
This was due to the value being greater than 256 characters.

Resolution

  1. Ensure you have K2 4.7 installed.
  2. Install the K2 4.7 February 2017 Cumulative Update.
  3. Get the K2 4.7 February Cumulative Update FP5 from Regional Support.
  4. Install the K2 4.7 February Cumulative Update FP5 to apply the fix.