Skip to main content

Files, records and messages in a Flow

Velox uses related but distinct processing units. Keeping them separate is essential for counts, retry and duplicate prevention.

UnitMeaningCompletion evidence
Physical fileA path selected through a File Connection or monitorFile event and final audit/error/transport location
Dataview/recordStructured data loaded through a DefinitionRecord counts, field validation and destination results
Flow attemptOne ExecuteOnce sequence over configured data and stepsFinal Flow status/log after commit/rollback and closing data
Transport queue itemRegistered outbound work created from a file eventTransport log/queue state, then protocol-specific delivery evidence
External business messagePayload accepted/processed by a receiverReceiver acknowledgement or business reconciliation, not merely Velox Flow success

One file can contain many business records; one Flow can create several files or Transport events; one automatic retry creates another Flow attempt. Therefore a single OK count does not establish end-to-end exactly-once delivery.

Processing sequence

  1. A trigger starts the Flow and supplies any monitor/request context.
  2. Data items open physical or database sources into structured dataviews.
  3. Active steps run sequentially and may transform, save, report, call a command or register outbound work.
  4. Velox commits/rolls back database-backed data according to final status, closes/resets data, and moves eligible source files.
  5. Logs/notifications are finalised; successful linked Flows can follow.
  6. Transport workers deliver queued outbound files separately.

Failures late in this sequence can occur after earlier external effects. Before retrying, correlate Flow attempt, file events, Transport events and receiver state. Use runtime semantics, file data items and outbound Transport steps for the detailed boundaries.