Skip to main content
Events turn a typed message into durable work. An Event definition says which messages it accepts, which target receives them, and which filter must match before RevoEngine schedules anything. One Event definition has one target. Create several active definitions for the same type when one business signal must fan out to independent Jobs or Agents; Event History records which targets matched and which filters skipped delivery.

When to use an Event

Use an Event when work should begin because state changed, not because a person called an Endpoint or a clock reached a particular time.
Publish small event envelopes and let the target load authoritative data by ID. Event metadata is searchable, but it is not a replacement for a Table or Storage object.

Explore the behavior

Each definition gets its own decision. A matching subscription can run while another subscription for the same occurrence is skipped.

Create an Event in the UI

Use native Event types for platform changes, or publish a custom Event for a business signal. Set message filters for admission and Runtime input for the selected Job. Follow Run a Job from a custom Event for the complete template, trigger and result workflow. Open Jobs → Events, select Add, and configure the definition. For a Job target, the selected template carries the Component, execution principal, input defaults, limits, concurrency, and retry policy. For an Agent target, delivery uses the current Agent definition.

Group Events into one Job

In Jobs → Templates, configure Execution mode on the target template. Single is the default. Batch and Debounce collect matching Events together with Schedule, manual Run and low-code/REST admissions to that template, within matching Job configuration, static input and dynamic-key boundaries. Event subscriptions do not configure grouping. Batch and Debounce keep one entry per collected Event in admission order. Small inputs resolve before execution with deferred: false; larger inputs keep references with deferred: true. Native Job Components can read full entries with api.walkTriggers(). Job Template defaults stay in api.input().templateInputs. See Configure Event input for the Component contract.

Compare Job delivery modes

Open the Event delivery guide for separate Single, Batch, and Debounce simulations. Each shows when Jobs become eligible and lets you inspect the resulting JSON. Dynamic Job concurrency applies after delivery makes a Job eligible.

Operate configured Events

The Jobs → Events grid is the inventory of current and deleted definitions. It exposes name, category, description, active state, Internal classification, Type, target references, metadata, creation/update ownership, version, and deletion state. Every visible column can be used as an operator filter where its data type allows it. Open a row to review the effective target, metadata, and filter before changing lifecycle state. The header links directly to History, so the definition and its observed deliveries remain separate: Instance settings govern the total and active Event-definition quotas. An active definition whose target was deleted, disabled, or is no longer authorized cannot be admitted until that dependency is corrected.

Incoming file → Event → Job → output

  1. An operator, SDK, or Component uploads a file into the Storage Files workspace and finalization creates a storageEntryId.
  2. STORAGE_CREATED records the entry projection as the Event message. A filter admits only the intended MIME type, folder policy, or user metadata.
  3. The selected Job template starts its Component under the template’s service account. The Job input contains the Event in triggers[].
  4. The Component reads trigger.message.storageEntryId from the Event entry, validates authoritative entry metadata and content, and uses bounded storage.getFileData() batches.
  5. It writes a result with storage.putObject() or a finalized upload session, then returns the operation ID and both Storage entry IDs.
  6. Event History proves admission and target scheduling; Job History, logs, and the output Storage entry prove processing.
Grant the Job service account read access to the input’s complete ancestor ACL chain and write access to the output folder. An Event matching successfully does not bypass Storage authorization at execution time.
See the full file-processing workflow for upload, schema, finalization, and retry-safe output design.

Roles and lifecycle

Updates use a version field for optimistic concurrency. Deleting is recoverable; restoring returns the definition but does not imply that it should immediately be active. Review its target and filter first.

Delivery and failure semantics

Acceptance confirms that RevoEngine recorded the event; it does not mean every target completed successfully. Diagnose fan-out in Event History, then follow the related Job or Agent run for execution-level status. Storage commits are not rolled back if post-commit lifecycle event enqueueing fails. Operators should therefore reconcile important ingestion sources against Storage entries as well as monitor Event History; the durable file remains the source of truth. Redelivery of the same accepted occurrence reuses the recorded initial child Job for each Event definition. Two definitions targeting the same template still count as separate subscriptions. An operator Replay creates new occurrence history and can create new Jobs under current definitions and filters. Targets that call payment, provisioning or messaging systems need a stable business operation key, such as order-1:invoice:v1, enforced at the side-effect boundary. A key based only on an Event history ID changes on Replay and cannot prevent the same invoice from being issued again. Compare delivery guarantees and metadata and correlation.

Diagnose by boundary

Confirm the producer used the expected type and the trigger request was accepted. Delayed Job-template targets should already be visible in Event History; inspect their scheduledFor and wait reason. For Storage workflows, also inspect the durable Storage entry because a committed file remains authoritative if post-commit event delivery fails.
Compare the saved normalized message with the definition filter. Check data types as well as values: the number 10000 is not the string "10000" for exact equality.
Continue in Job History or the Agent run. Event History owns admission and fan-out, while target history owns execution, permissions, retries, and result.
Use a more specific business event type or add message/metadata filters. Keep each definition responsible for one target so unwanted fan-out can be disabled independently.

Production checklist

  • Give custom types stable names and set custom: true.
  • Filter before starting expensive work.
  • Validate the payload again inside the target.
  • Use a dedicated service account on Job templates.
  • Correlate Event history with downstream operation IDs.
  • Make every external side effect replay-safe.
  • Disable the definition before changing a production target.
  • Review configured definitions and active quotas periodically; remove obsolete subscribers instead of leaving ambiguous filters active.
See Event History for fan-out evidence and replay, Jobs for durable target execution, and Storage for lifecycle, ACL, retention, and batching semantics. Follow the complete Event → Job → Webhook example to connect configuration, inputs, correlation and observable outcomes.
Last modified on November 11, 2026