Default Server Events

The Default Server Event is an executable module that runs on the K2 server and does not require human interaction like a client event does. The following server events are available for use:

K2 Server Events
K2 Default Server Event (code) This is a code module that executes against on the server. The event enables you to leverage the exposed API (K2 ROM ) to perform code-based system tasks, manage work list items, update SmartObjects and the like
Default Server Event (Windows Foundation) This event enables the features in Windows Workflow foundation to be run from within a K2 process event.

Where to find these items

The 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 is displayed, as the server events do not haveassociated wizards.

The server events are for code and Workflow Foundation declarations. They not have associated wizards. After dragging a server event, right-click on the event to write your code or add Workflow Foundation items.