K2 BLACKPEARL PRODUCT DOCUMENTATION: USER GUIDE
Introduction to Server Events

Introduction to Server Events

The K2 Server Event is an executable code module that runs on the K2 Server and does not require human interaction. The following Server Events are available for use:

K2 Server Events
K2 Default Server Event (code) This is a code module that executes against the K2 ROM. The Server event enables the developer to leverage the exposed API (K2 ROM ) to perform system tasks, manage work list items, update data silos (e.g. K2 SmartObject), etc
Default Server Event (Windows Foundation) This event enables the features in Windows Workflow foundation to be leverage from within a K2 Process.

Where to find these items

The above Server Events are located in the K2 Toolbox. To make use of the Server Event click on the item and drag it onto the design canvas.

When dragging a Server Event onto the Design Canvas, no wizard will be displayed, as the Server Events do not have an associated wizard.

The Server Event is for custom code and, as such, does not have an associated wizard. After dragging a Server Event, right-click on the event to edit the code.

For K2 blackpearl, the Server Event is also present in the no-code K2 Studio environment. Process designers can include Server Events in their processes as placeholder events (no code), which can then be completed later by a developer using the K2 Designer for Visual Studio. 

 

 


K2 blackpearl Help 4.6.11 (4.12060.1731.0)