QuackUIInstall

Runs

Keep a report's results, with the SQL and log behind them.

A run executes every block on every tab against fresh data and keeps the outcome. Anyone who can view a report can run it with Run now. Schedules make runs too.

A run document

What is kept

  • results, with the report’s definition and labels as they were;
  • prompt answers, the time zone and each period’s dates;
  • the report revision and model version;
  • each query’s SQL, parameters, time and row count;
  • a log.

Later edits to the report don’t change its runs.

Status

Status Meaning
Queued, running Not finished
Succeeded Every block worked
Partial Some blocks failed
Failed Nothing useful came out. The reason is shown
Cancelled Someone stopped it. Results so far are kept
Skipped A scheduled turn came round while the last one was still going

Whoever started a run can cancel it, as can anyone who can edit the report.

A run that was still going when the API restarted, or whose result couldn’t be recorded at all because the database was unavailable, fails with interrupted. If someone had asked to cancel it, it is cancelled instead. A queued run whose job was lost fails the same way. QuackUI ends such runs at startup and, once the database is back, in a check every minute. Their schedule then carries on, and failure notices are sent as for any failed run.

SQL and log

The SQL pane
The Log pane

Find runs

A report’s runs are in its History pane. File › Runs lists every run you can see, filtered by report and status.

File › Runs

How long

The newest 100 runs of each report are kept. A run stores up to 25 MB of results, and rows beyond that are dropped and logged. Both are settings.

Who sees what is in them

With row or column security on, a run’s data is shown only to people whose access matches the run’s, and to admins. Others can press Run now for their own.