Events App
The events app manages the creation, tracking, and replay of events in the Maybern system. Events enable powerful features like rollback, export/import, and audit trails.Overview
An event is a record of a change in the system. The events app provides:- Event models and relationships
- Import/export functionality
- Load and replay capabilities
Event Types
| Type | Description |
|---|---|
CustomerEvent | Customer-level activity |
FundFamilyEvent | Fund family activity |
FundFamilySubEvent | Sub-event within fund family event |
StateTransitionEvent | Status changes |
Event Features
Import
Load events from JSON templates:- Upload template file
- Create EventTemplate
- Replace object IDs (prevent duplicates)
- Bulk create events and objects
Export
Export customer events to template:- Export all events in parallel
- Dedupe objects
- Replace IDs with normalized references
- Create versioned template
Load
Load events from template into customer:- Read EventTemplate
- Create load events
- Process events sequentially
- Track completion status
Event Template Models
| Model | Description |
|---|---|
EventTemplate | Collection of loadable events |
EventTemplateVersion | Version tracking |
EventTemplateEvent | Individual event in template |
EventTemplateObject | Object data in template |
EventTemplateLoadEvent | Load status tracking |
Use Cases
Rollback
Rollback
- Export customer at desired point
- Reset customer data
- Load exported template
Fix and Roll Forward
Fix and Roll Forward
- Export customer events
- Roll back to before error
- Modify problematic event
- Re-load events with fix
Clone to New Environment
Clone to New Environment
- Export from source
- Import to target
- Load to new customer