Table of Contents

Evaluate event strategies through test runs (8.2)

Design event strategies more effectively by testing your logic against sample events. By sending sample events to an event strategy and evaluating the outcome, you can increase the reliability of the event strategy configuration and troubleshoot potential issues.

You can create event strategy test runs from the Actions menu on the Event Strategy rule form. Through the Run option, you can assess the strategy logic by simulating real-time events. For each run, you can specify the settings to simulate the number of events to send, the event time, and event fields.

For example, a strategy designer creates an event strategy to respond to customers who made calls that were dropped. The event strategy detects the third dropped call made by a single customer within one day.

Thumbnail
An event strategy to detect dropped calls

The strategy should emit exactly one event when a single customer (identifiable through the SubscriptionID property) made at least three unsuccessful calls within the period of one day. Dropped calls are detected when the TerminationCode property value equals 1.

Thumbnail
Sending sample events to an event strategy

For more information and detailed steps, see Testing event strategies.

Suggest Edit

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.