Skip to main content
The Event Processing System is a powerful core component of the C3 Agentic AI Platform that orchestrates your application’s dynamic behavior. This sophisticated system handles real-time and scheduled events, manages task execution, and coordinates complex data workflows—providing the essential infrastructure for automating processes, responding to changes in data, and orchestrating operations across your entire application.

What is the Event Processing System?

The Event Processing System is a processing layer that handles events, schedules jobs, and manages workflows within the C3 Agentic AI Platform. It provides the infrastructure for responding to real-time data changes, executing scheduled tasks, and orchestrating complex business processes. This system enables your application to:
  • React to events in real time (example: sensor readings exceeding thresholds)
  • Schedule and execute recurring tasks (example: daily data aggregation)
  • Coordinate multi-step workflows (example: maintenance approval processes)
  • Manage long-running operations (example: ML model training)
  • Handle failures and retries gracefully
The Event Processing System works closely with the Type System, allowing you to define event handlers and workflows that operate on your domain model.

Core components

The Event Processing System consists of several key components:

Event handlers

Functions that respond to specific events, such as data changes, system events, or custom application events.

Jobs

Discrete units of work that can be scheduled, executed, monitored, and managed through the platform.

Workflows

Sequences of steps that coordinate multiple operations, potentially involving human interaction and decision points.

Queues

Managed lists of pending tasks that ensure reliable processing, even under heavy load or during system disruptions.
These components work together to provide a comprehensive framework for event-driven processing and task orchestration.

Event handlers

Event handlers are functions that respond to specific events within the C3 Agentic AI Platform. They can be attached to Types to respond to data changes, or they can listen for system or custom events.

Type event handlers

Type event handlers respond to lifecycle events on Type instances:

System event handlers

System event handlers respond to platform events:

Custom event handlers

Custom event handlers respond to application-specific events:

Jobs

Jobs are discrete units of work that can be scheduled, executed, monitored, and managed through the platform. They provide a way to perform tasks that may be long-running, resource-intensive, or need to run on a schedule.

Job definition

Jobs are defined with a name, description, and implementation:

Job scheduling

Jobs can be scheduled to run at specific times or intervals:

Job execution

Jobs can be executed manually or programmatically:

Workflows

Workflows are sequences of steps that coordinate multiple operations, potentially involving human interaction and decision points. They provide a way to model complex business processes that may span multiple systems and involve both automated and manual tasks.

Workflow definition

Workflows are defined with a name, description, and a sequence of steps:

Workflow execution

Workflows can be started manually or in response to events:

Human tasks

Workflows can include human tasks that require user interaction:

Queues

Queues are managed lists of pending tasks that ensure reliable processing, even under heavy load or during system disruptions. They provide a way to handle asynchronous operations, distribute work across multiple processors, and ensure that tasks are completed even if failures occur.

Queue definition

Queues are defined with a name, description, and handler function:

Queue operations

Items can be added to queues and their status can be monitored:

Practical application: Wind farm monitoring

Let’s explore how the Event Processing System is used in a wind farm monitoring application:

Real-time sensor data processing

The application processes sensor data in real time using queues and event handlers:

Scheduled maintenance planning

The application uses jobs to schedule and plan maintenance activities:

Maintenance workflow

The application uses workflows to coordinate maintenance activities:

Benefits of the Event Processing System

The Event Processing System provides several key benefits:
  • Automation: Automate routine tasks and complex workflows
  • Responsiveness: React to events in real time
  • Reliability: Ensure tasks are completed even if failures occur
  • Scalability: Distribute work across multiple processors
  • Visibility: Monitor and manage tasks and workflows
  • Flexibility: Adapt to changing business requirements
These benefits enable you to build applications that can handle complex processes, respond to events in real time, and scale to meet the needs of your business.

Type System

Learn how the Type System defines data structures and business logic.

ML Pipeline Integration

Understand how machine learning models integrate with workflows.

Platform Architecture Fundamentals

Explore the architectural principles that power the C3 Agentic AI Platform.