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

Note: It is necessary to backup your K2Server and K2ServerLog databases before implementing this Update.
After installing K2 blackpearl 0807 Update KB000450, the following issues were identified:

Issue 1:

When viewing String Data- or XML fields of a process that did not have initial values defined (by utilizing the K2ROM API), a “NULL” value instead of an empty string will be returned.

Issue 2:

When opening process instances that were started in a previous version of K2 blackpearl that contained Decimal type on demand data fields, the incorrect value was returned after upgrading to KB000450.

Error Scenario

Note: The circumstances described in this article are one scenario under which this issue may, or is known to occur. The description is intended to be specific to the scenario described and does not take into account all possible scenarios or circumstances.

Issue 1:

  1. Create a K2 Process with a String Data field or an XML field, with or without data on demand
  2. Do NOT add an initial value
  3. Start a Process Instance with either the K2.net 2003 K2ROM API or the K2 blackpearl SourceCode.Workflow.Client API.
  4. When viewing the Data- or XML field on the Process Instance the values are returned as "NULL" and not as an empty string.

Issue 2:

  1. Create a K2 Process containing decimal Data On Demand DataFields in a previous version of K2 blackpearl with a Client Event.
  2. Upgrade to KB000450.
  3. Opening the Process Instance Decimal data field with the KB000450 upgraded build causes an incorrect value to be returned.

Error Message

Issue 1:

The value returned as “NULL” instead of an empty string.

Issue 2:

Incorrect data returned through the K2 APIs for decimal DataField types.

Error Resolution

Note: It is necessary to backup your K2Server and K2ServerLog databases before implementing this Update.
Note: This Update contains the decimal fix which will be executed by the installer to correct the databases. This fix has two files that will be installed. These files can be run manually post installation if required. If errors occur please contact regional support.

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: http:// portal.k2.com /downloads/bp/default.aspx