Flow runtime semantics
A Flow run is more than its action-step loop. Correct operation and recovery require evidence from the complete attempt.
One attempt
- A manual, schedule, file monitor, REST or parent/linked trigger obtains a loaded Flow instance.
- Velox initialises status/log context and, on the first applicable service execution, can check incoming Transports.
- Each active action step executes in order while status is successful and the run is not cancelled.
- If no steps are configured, the Flow becomes cancelled.
- In live mode, success commits Definition/system database work and moves eligible source files to Audit or Transport; failure rolls back database work and moves eligible files to Error.
- In test mode, database work is rolled back and normal source-file/Transport movement is suppressed.
- Data is closed/reset; an eligible failed attempt can auto-retry after its delay.
- Final status is logged, selected logs are saved, REST error responses and notifications are produced where applicable.
- On success, configured linked successor Flows run in order.
- Runtime resources and per-thread database pools are released and the Flow object is reset/returned to its pool.
What to read next
- Ordering, concurrency and transactions
- Retry, failure and cancellation
- Status and logging
- Performance considerations
- Files, records and messages
An earlier external effect may remain even when final status is Error. Always correlate the log, database outcome, source-file location, outbound queue/delivery and receiving system before rerunning.