Process-driven applications - fast.
 
   
 

Hotfix: An exception occurs when completing an asynchronous server event by calling the Update or Finish method from an external application

KB Number:KB000384
Date Published:8/2/2009 12:00:00 AM
Date Modified:8/2/2009 12:00:00 AM

Introduction

An exception occurs when completing an asynchronous server event by calling the Update or Finish method from an external application.

Error Scenario Steps

Note: The steps below describe one scenario under which this error may occur. The steps below are simplified and not all the steps will be shown or described.
  1. Create a process containing a server event with the following line:

    K2.Synchronous = false;
  2. Deploy the process to the K2 server
  3. Create a new Windows application that executes an update on the server event of the deployed process. For example:

    SourceCode.Workflow.Client.Connection conn = new SourceCode.Workflow.Client.Connection();
    conn.Open([serverName]);
    conn.OpenServerItem([serialNumber]).Update();
  4. Find the serial number of the Server Item by looking in the database K2Server.._ServerList and use "ProcInstID_ActiInstDestID" (e.g. "28_8")
  5. Run the application and the error will display in the K2 Server console window.

Error Messages

26033 Worklist item Not Open for K2:Demo\UserA

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

Note: This is a "FAST PUBLISH" article created directly from within the K2 support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
 
   
   
 
PRODUCT
K2 blackpearl
SEE ALSO
APPLIES TO
K2 blackpearl 0807 4.8210.1.x
K2 blackpearl 0807 4.8210.2.0