Try OpenEdge Now
skip to main content
BP Server Developer's Guide
JMS based event publisher : Event filters : Prefilter conditions
 

Prefilter conditions

The Event Publisher allows prefilter conditions on the following event data.
*Event type
*Event value
*Process template names
*Workstep names
You can specify multivalue data for each property. For example, you can specify comma separated event values for an event channel.
*Example1: Filter conditions for channel C1.
EVENT_TYPE: BP Server
EVENT_VALUE: P_INSTALLED, P_REMOVED, P_SUSPENDED
PT_NAMES: Hiring, Approval, Assignment
When one of the specified events is generated for the specified process template, then that event is published to the specified channel C1. The same events generated for any other process template are not sent to this event channel.
*Example2: Filter conditions for channel C2.
EVENT_TYPE: BP Server
EVENT_VALUE: W_ACTIVATED, I_COMPLETED, W_COMPLETED
WS_NAMES: Feedback
When a workstep called Feedback is activated or completed, that event is sent to channel C2. Note that any process template with a workstep called Feedback satisfies this condition. In other words, all work items completed for a workstep named Feedback, from any process template, are eligible for sending the event to channel C2.