Code Fix: Resolving a SharePoint item reference based on a lookup column, returns incorrect results

  • 16 February 2021
  • 0 replies
  • 3 views

Badge +5
 

Code Fix: Resolving a SharePoint item reference based on a lookup column returns incorrect results

KB002786

PRODUCT
K2 Five 5.0
K2 Five (5.0) September 2018 Cumulative Update
K2 Five (5.0) September 2018 Cumulative Update Fix Pack 6
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

When you use an item reference based on a SharePoint list lookup column in a workflow, incorrect results return at runtime when the item reference resolves. The value returned is “System.String[]” instead of the actual value of the lookup column.

Resolution

  1. Ensure you have K2 Five (5.0) installed.
  2. Download and Install the K2 Five (5.0) September 2018 Cumulative Update from K2 Partner and Customer Portal.
  3. Download the K2 Five (5.0) September 2018 Cumulative Update FP05 from K2 Partner and Customer Portal.
  4. Install the K2 Five (5.0) September 2018 Cumulative Update FP05 to apply the fix.
  5. Refresh the REST service instance.

 


0 replies

Be the first to reply!

Reply