Designer 10.15 | Software AG Digital Event Services Help | Working with the Event Generator | Assigning Event Rules
 
Assigning Event Rules
If your application displays the information contained in events, or uses the information to sort or analyze events, you can use event rules to specify the information contained in the events to simulate real-world conditions.
If you do not associate an event rule with an event type, the Event Generator still generates events from that event type, but the events do not contain information.
Use the following procedure to create an event rule definition for each event type in an Event Generator project and assign values to the fields of the event types.
*To create an event rule for an event type
1. In the Project Explorer view of the Digital Events Development perspective, double-click event_generator_project_name.deg to open the Event Generator editor.
2. For each entry in the Event Type Name column, click inside the cell in the Event Rule Name column.
3. Select Create New Rule from the drop-down menu.
4. In the Rule name field, specify a name for the event rule.
5. In the event rule editor, for each entry in the Field Name column that you want to include in the events that the Event Generator emits, click inside the Value Rule column.
6. Select Create New Rule from the drop-down menu.
7. In the Rule name field, specify a name for the event rule.
8. Specify the data that you want the events to contain. For more information about the values to specify per data type, see Event Value Rule Types.
9. Save your changes.