< class="prominent-subhead ">

Code Fix: An error occurs when you execute the ‘open worklist’ call using the K2 Workflow Client API

~~repeating-content.html~~

Issue Description


When you use the worklist item serial number as a filter and execute the ‘open worklist’ call with the K2 Workflow Client API, an error occurs.

Error Message


The following error occurs: “Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index".

Resolution

The fix is available in the following K2 versions:

K2 4.7 December 2019 Cumulative Update K2 Five (5.0) December 2019 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 33 Fix Pack 39
  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.