Applying complex event processing
Reference Event Strategy rules to apply complex event processing in your data flow. Build data flows to handle data records from real-time data sources. For example, you can use complex ecents processing to analyze and identify patterns in call detail records (CDR) or banking transactions.
In a data flow, click the Plus icon on a shape, and select Event Strategy.
Double-click the Event Strategy shape to configure it.
In the Event strategy field, select an event strategy that you want to reference in this shape.
In the Convert event strategy results into field, enter the name of the class where you want to output your data.
In the Properties output mapping section, map the properties from your event strategy to the properties that exist in the class containing your data flow by performing the following steps:
Click Add Item.
In the Set field, enter a target property that is in the same class as your data flow.
In the Equal to field, enter a source property.
You can specify the ouput type of the Event Strategy shape, the amount of output records depends on the logic of the Event Strategy rule and the incoming data records.
For more information , see Pega Community Processing complex events article.
- About Event strategy rule
Event strategies provide the mechanism to simplify the complex event processing operations. You specify patterns of events, query for them across a data stream, and react to the emerging patterns. The sequencing in event strategies is established through a set of instructions and execution points from real-time data to the final emit instruction. Between real-time data and emit, you can apply filter, window, aggregate, and static data instructions.
- Creating a data flow
Create a data flow to process and move data between data sources. Customize your data flow by adding data flow shapes and by referencing other business rules to do more complex data operations. For example, a simple data flow can move data from a single data set, apply a filter, and save the results in a different data set. More complex data flows can be sourced by other data flows, can apply strategies for data processing, and open a case or trigger an activity as the final outcome of the data flow.
- Types of data flows
Data flows are scalable data pipelines that you can build to sequence and combine data based on various data sources. Each data flow consists of components that transform data and enrich data processing with business rules.
- Types of Data Set rules
Learn about the types of data set rules that you can create in Pega Platform.