Data Management

The Data Management module is your database maintenance and audit control center. It provides tools to monitor accumulated data, selectively clean up old execution history, and inspect every significant system event.


Layout — Two Tabs

TabPurpose
Execution & SessionsManage execution traces — records of every flow and program that ran
System & AuditManage the audit log of configuration changes, lifecycle events, and errors

Tab 1 — Execution & Sessions

Quick Cleanup

ButtonAction
Clear TestsDeletes only execution traces from flow test runs. Use after debugging.
Clear OrphansDeletes orphan traces — records that lost their parent session reference
Clear ZombiesDeletes zombie sessions — sessions that started but never completed (e.g., from a crash)
Clear ErrorsDeletes only sessions that ended with an error state

Each button is automatically disabled when there are zero records of that type.

Clear Entire Execution History — destructive, requires confirmation. Removes all execution traces, sessions, and related data.

Warning: Clearing all execution history removes data used by Journal, Insight Engine, and Resource tracking.

Execution Statistics

Shows current data volume:

  • Program Runs — number of program execution runs and total trace records (with zombie/error sub-badges if any)
  • Test Flows — number of test runs
  • Standalone Flows — manually triggered flow runs

Advanced Session Explorer

Collapsible table of every historical session:

ColumnDescription
Session / Program PrefixSession identifier. Named programs show the name + UUID below.
Type🟢 Program / 🔵 Test / ⚪ Standalone
# FlowsNumber of distinct flows in this session
# TracesTotal execution trace records
Last SeenTimestamp of the most recent trace (default sort: newest first)
Status🔴 Zombie / 🟠 Error / — if clean

Select sessions and click Delete Selected to remove them with confirmation.


Tab 2 — System & Audit

Retention Policy

ControlDescription
Days input1–3650 days (default: 90)
“Clean Older” buttonDeletes all system events older than the specified days

Event Statistics

Category breakdown grid showing counts per event type (CONFIG, HARDWARE, LIFECYCLE, PLAN, ERROR, SECURITY).

System Events Explorer

Full audit log viewer with column-level filtering:

FilterTypeDescription
CategoryDropdownCONFIG, HARDWARE, LIFECYCLE, etc.
TimestampDate rangeFilter events between two dates
TypeDropdownSpecific event type identifier
SeverityDropdownINFO, WARNING, ERROR, CRITICAL
MessageText searchFree-text search (debounced 500ms)

Expanded Event Detail — click any row to see the full event payload:

  • For DEVICE_UPDATED events: a Diff Viewer shows exactly which fields changed, old values (red) vs. new values (green)
  • For all other events: formatted JSON payload

Practical Usage

Routine maintenance (weekly):

  1. Clear Tests → Clear Orphans (if any)
  2. Switch to System & Audit → set retention to 90 days → Clean Older

Investigating an incident:

  1. System & Audit tab → filter by Timestamp + Category (ERROR/CRITICAL)
  2. Expand the relevant event to see full payload

Auditing a configuration change:

  1. Filter Type by DEVICE_UPDATED
  2. Expand — the Diff Viewer shows exactly which fields changed