< class="prominent-subhead ">

Code Fix: An error occurs when you close a K2 Workflow in the K2 Designer after deploying the workflow


Issue Description

When you design a K2 Workflow and use two forms containing views on the Start event or any task, an error occurs after deploying the workflow and then selecting to close the workflow.

Error Message

The following error occurs: “The given key was not present in the dictionary”.


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 36 Fix Pack 43
  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. It is recommended to refresh the browser cache.