Skip to main content
 

Code Fix: A legacy K2 Workflow goes into error state when a SmartObject return property does not exist

KB003419

PRODUCT
K2 Five 5.2 to 5.3
K2 Five (5.2) May 2019 Cumulative Update
K2 Five (5.2) May 2019 Cumulative Update Fix Pack 23 to K2 Five (5.3) Fix Pack 31

 

Issue Description


When you start an instance of a legacy K2 Workflow where the return value of a SmartObject property is used as the value of a data field in the workflow, the workflow will go into error state after the property is removed from the SmartObject.

Error Message


The following error occurs: “Item not found in this collection”.

Resolution

The fix is available in the following K2 versions:

K2 4.7 March 2018 Cumulative Update K2 Five (5.0) September 2018 Cumulative Update K2 Five (5.1) November 2018 Cumulative Update K2 Five (5.2) May 2019 Cumulative Update K2 Five (5.3)
X X X Fix Pack 23 Fix Pack 31
  1. Ensure you have the correct K2 version and/or Cumulative Update installed. See KB001893 to see what Fix Pack level you have installed.
  2. Download the latest Fix Pack using the links in the table above for the version you require.
  3. Install the Fix Pack to apply the fix.
  4. The K2 Workflow will be able to continue without the error, and the value of the data field will be empty due to the removed SmartObject property.

 

Be the first to reply!

Reply