Understanding business event definitions and event processing |
Business event definitions allow users to monitor your applications by automatically detecting business conditions and triggering specified processes.
A business event definition monitors and responds to events of interest in your application that may not be easily represented as procedural steps in workflows, activities, and so on. Such events
The business event definition comprises both the conditions and resulting actions of a business event. For example, the event condition could be whenever a work item in the Adjustments application becomes resolved with a status of Resolved-Writedown and the principal amount is more than $10,000. The related action could be that the system sends an email notification to a specific group of people.
Each business event definition has:
Internally, a business event definition is a work item of the work type PegaAccel-CEPSetup, identified by the reserved work item prefix pxEvent-.
Two privileges, included in the Access of Role to Object PegaAccel-CEPSetup, affect use of this capability.
Privilege |
Description |
PegaAccel-CEPSetup.ViewEventDefinitions | Permits viewing business event definitions. |
PegaAccel-CEPSetup.EditEventDeveloper | Permits creating and editing business event definitions. |
This Access of Role to Object, and therefore these privileges, are included in the PRPC roles PegaRULES:SysAdm4 and PegaRULES:WorkMgr4.
V6.2 contains four predefined event types which address commonly-needed situations. These event types are predefined in the PegaAccel-CEPSSetup.pyEventRuleType.
Internal value |
Description |
pxInstanceUpdated | The work item was updated. |
pxAttachmentAdded | An attachment was added to the work item. |
pxCorrespondenceGenerated | An item of correspondence was produced for the work item. |
pxGoalOrDeadlineExceeded | A service level goal or service level deadline was not met. |
Class |
Description |
PegaAccel-CEPSetup | All event definition work items are of this type |
Pega-Event-System | When an event is generated the details are stored in an object of this type. |
agent, event, subscription | |
Understanding the Pega-EventProcessing agent
Process and Rules category — Events landing page |
See Case Manager portal — My Events tab — Creating and subscribing to business events and PDN article 26370 How to create and subscribe to business events.
Select > Process and Rules > Events to access the Events landing page. Two tabs are available: