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

This patch fixes the issue that has to do with executing an action on a worklist item and the data fields not being updated.
 
This article will describe the error involved, and how to install the patch to resolve the issue.

The local machine has the following items installed:

  • K2 blackpearl 0807 4.8210.1.x or 4.8210.2.0

Error Description

When executing an action without opening the worklist item using the K2 API, the process data fields do not get updated.
For example, using the code snippet below:
WorklistItem item = worklist[0];
item.ProcessInstance.DataFields[fieldName].Value = 9876;
item.Actions[0].Execute();

Error Resolution

This Patch 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.