Once a flow has been built, it typically runs on a schedule and is monitored through its run history and logs. Both sides of that - when the flow runs and what it records while running - are configured per flow.Documentation Index
Fetch the complete documentation index at: https://docs.twine.se/llms.txt
Use this file to discover all available pages before exploring further.
Schedules
A flow can have a single schedule with three fields:- Enabled: a toggle that controls whether the schedule fires at all. Disabling the schedule does not delete it; re-enabling it resumes firing on the configured cron expression.
- Cron expression: a standard cron string that determines when the schedule fires. The expression is evaluated on minute ticks, so the finest granularity is one run per minute.
- Log level: the verbosity used for runs started by this schedule. See below.
Log levels
Each flow run has a log level that gates which log entries end up in the run’s log. The available levels, from quietest to most verbose, are:- none - suppresses all log output.
- warning - only warnings and errors.
- info - the normal operating level; records each major step.
- debug - includes detailed per-node information. Useful for investigating a specific failure; usually too verbose for ongoing runs.
The run log
While a flow is running, log entries written by nodes are appended to an in-run log buffer on the token and broadcast to any editor pane watching the run. When the run finishes, the buffer is snapshotted onto the FlowRun row so the entries are available in the run history afterwards. Two kinds of log calls exist:- Event logs are written by nodes to describe what is happening in the run. These appear in the editor’s run view and in the FlowRun’s recorded log. Internal detail and identifiers are fine here.
- System logs are routed to Twine’s internal logging infrastructure. These are subject to different retention and must not include personally identifiable information at info or above.