Chapter 21. The K2 Event Bus

Anthony Petro

The book to this point has shown that K2 blackpearl is an incredible platform for modeling business processes and information. Sometimes factors external to the process can affect its performance or logic and processes should be able to adapt to these events both internal and external to the process. Event monitoring allows users to affect change and address issues that affect the process without having to remodel the process. The K2 Event Bus is the event-modeling platform for K2 blackpearl.

The K2 Event Bus provides the infrastructure and tools to allow business users to model notifications and custom actions based on events in K2 workflow processes, SmartObjects, line-of-business (LOB) systems, and single or recurring schedules. The events are configured to evaluate and execute policies independent of the context of a workflow process or LOB system activity, such as a SmartObject Create method. The policies can range from simple e-mail notifications configured in the K2 Workspace to fully customized .NET code.

This chapter will cover the following topics:

  • Key features of K2 Event Bus

  • K2 Event Bus Architecture

  • Exposing process definitions and data as SmartObjects

  • The K2 Event Bus Scheduler

  • Configuring the Event Bus

  • A walkthrough of using the Event Bus

  • Troubleshooting tips and tricks

Key Features of the Event Bus

Event-Driven Business Process Management (EDBPM) combines Business Process Management (BPM) with Complex Event Processing (CEP) to bring ...

Get Professional K2 blackpearl® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.