Business event processing allows you to monitor activity of running or completed BPEL processes. For example, you might want to know, "What is the average time for service X to process an order?" where service X is an invoke activity in your process, and you are evaluating a given number of completed processes over a certain time.
Another example of a business event to process is, "Alert me if the average time it takes to claim a task exceeds N minutes." In this case, you can send an alert when a certain business condition is met.
The basic steps required for business event processing are the following:
Deploy the event-based processes
Create an event action process that runs based on a matching business condition
Design and deploy the event-action process to manage and monitor events
Deploy and run the processes that have defined events
Some of the benefits of using eventing include:
Monitor processes in action and spot abnormalities
View reports of activity
Perform the analysis of a process that has already completed in order to view the cause of a problem
The following topics discuss business event processing: