Creating an event type in the Event Catalog
You can create multiple events in the Event Catalog to collect customer data from specific data sources (Data set or Report definition) and store it in the Event Store data set. You can retrieve this data to get information about customer interactions and display them in an events feed that you add to your user interface.
- In the header of Dev Studio, click .
- On the Event catalog tab, click New.
- Click Create to start the New Event Type wizard.
- Configure the source of the event.
- Select the event class which is the class of the source data set or report definition.
- Select the source type (Data set or Report definition).
- Select an instance of the source rule.
- Select an event ID to fetch each of the event details. The event ID values must be unique to avoid overwriting data in the Event Store data set.
- Optional: Use event time instead of the system time. Event time is stored as the .pxCaptureTime property of the Event Store data set and appears in the customer’s timeline.
- Enter a name for the event type.
- Optional: Click the default icon to select a different one.
- Enter a description for the event type.
- Click Next.
- Configure identity matching details for retrieving customer data.
- Select the source of the customer ID to specify where the customer data is:
Event class - Select this option if the customer information (customer ID and group ID) is in the event class.
Customer class - Select this option if the customer information (customer ID and group ID) is in a class other than the event class.
Map properties from the customer class and the event class that will be used to match and retrieve customer data for the event.
- Map customer ID. Select the source field that will be mapped to the Customer ID in the Event Store data set.
- Optional: Store events by customer group also. Use this option when there are groups of
customers in the data source, for example, employees of a department, credit card
holders.
Map group ID. Select the source field that will be mapped to the Group ID in the Event Store data set.
- Select the source of the customer ID to specify where the customer data is:
- Configure storage and retrieval options.
- Specify how long you want to keep events. The default configuration is to keep events for unlimited time.
- Select whether you want to store event details. You need to store event details in
a new data set when this data comes from an external data set. This way you can query
the data set to get event details.
Do not store event details
Store in a new data set (Decision data store)
Provide the name of a data set where you want to store event details.
- Select how you want to retrieve event details.
Retrieve from internal source - Select this option if the event details can be retrieved from the source data set. This option is not available for data sources other than data set.
Retrieve from external source - Select this option if the event details cannot be retrieved from the source data set.
- Save the GetExternalEventDetails activity in the event class and specify the details that you want to populate through the primary page of this activity.
- Click Next.
- Review the details.
Review the details of the event type that you want to create.
Select the ruleset and its version where you want to create the event type.
- Click Create to submit the Event Catalog configuration.
Previous topic Creating test cases for event strategies Next topic Clearing an event type in the Event Catalog