LEGACY CONTENT
This article refers to legacy products, components or features. Therefore, the content in this article is offered "as is" and will no longer be updated. 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.

Introduction:

When exporting a process from K2.net 2003 Studio to K2 blackpearl Server non-client events such as Mail Events creates unnecessary records for finish and update actions which are only needed for client events.  This causes the following error when a worklist item is redirected which had a non-client event in the same activity and the new user opens his K2 Worklist: "Item has already been added.  Key in dictionary: 'Finish' Key being added: 'Finish'"

Example Scenario:

  1. Create a process in K2.net 2003 Studio 
  2. Add an activity and add a Mail Event and a Client Event into that activity
  3. Deploy directly to K2 blackpearl
  4. Start a new instance of the process
  5. Open the user's worklist
  6. Redirect the worklist item to another user
  7. Open the new user's worklist
  8. Error occurs

Error Resolution:

This Hotfix is contained within the latest K2 blackpearl 0807 Update. Install the update package to resolve the error.

The latest K2 blackpearl 0807 Update is available as an independent installation package which can be found here: https://portal.k2.com/downloads/bp/default.aspx.

After running the update redeploy the affected processes to resolve the error.  Process instances that are causing a problems should be deleted.