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.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
- An operator, SDK, or Component uploads a file into the Storage Files workspace and finalization creates a
storageEntryId. STORAGE_CREATEDrecords the entry projection as the Event message. A filter admits only the intended MIME type, folder policy, or user metadata.- The selected Job template starts its Component under the template’s service account. The Job input contains the Event in
triggers[]. - The Component reads
trigger.message.storageEntryIdfrom the Event entry, validates authoritative entry metadata and content, and uses boundedstorage.getFileData()batches. - It writes a result with
storage.putObject()or a finalized upload session, then returns the operation ID and both Storage entry IDs. - 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.
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
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
The Event never appears in History
The Event never appears in History
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.History exists but the target was skipped
History exists but the target was skipped
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.The target was scheduled but failed
The target was scheduled but failed
Continue in Job History or the Agent run. Event History owns admission and fan-out, while target history owns execution, permissions, retries, and result.
A custom event matches too many definitions
A custom event matches too many definitions
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.

