K2 blackpearl introduces the new concept of Actions and Outcomes. When a Client Event is part of a process, the process designer can create a list of possible choices for the destination user of the task. These choices are called Actions.
|Note: This document assumes some programming knowledge and familiarity with Visual Studio.|
If you are familiar with the K2.net 2003 K2ROM object model, you should be comfortable with the new Workflow.Client object model.
|Note: K2 blackpearl deprecates the K2.net 2003 K2ROM object model. It is now replaced with the SourceCode.Workflow.Client object model.|
Below is an ASP.NET code sample for how to programmatically interact with the actions. First, the sample populates a drop down list. Next, the sample gets the selected value and then sets the specific action. This sample uses the Workflow.Client API.
|Note: You will need to add a reference to the SourceCode.Workflow.Client.dll within your project. It is located at C:\Program Files\K2 blackpearl\bin\SourceCode.Workflow.Client.dll|