OBLYTECH Logo
OBLYTECH Logo

Performance Analytics Data Snapshots: Sources, Jobs, Limits

Data snapshots is the Performance Analytics mode that records changes to chosen fields through change data capture, which lets an indicator break its score down by more than two levels at once. It needs the RaptorDB Professional database and an instance that is not domain separated.

What a Data snapshots source holds

A source is the filtered dataset an indicator reads. It sits on a fact table, the table that records the process you want to measure, such as incidents or industrial guided tasks. Check first that the table supports change data capture, since that is a requirement for a fact table.

Two decisions shape a source from the start. The first is the data frequency.

Setting Daily source All Activity source
Calendars Standard calendar Standard calendar plus business calendars in a Business Calendar Group
Indicator frequencies Daily All frequencies those calendars define, including intraday

A Daily source suits a daily count; an All Activity source suits shift-level analysis and incomplete-period charts.

The second decision is the field list. The fields placed on the source are the ones tracked over time, and they are the filter options for indicators built on it. Fields can be added later, but history starts on the day a field is added, and fields cannot be removed. List the filter fields you need before you create the source.

A source is tied to one application scope, and its indicators must sit in that scope. Each fact table can have one Data snapshots source, so plan the scope and the table together.

How the collection jobs fill an indicator

When a source is set up, a one-time first snapshot job captures the current state of the fact table as a baseline. Incremental jobs keep it current. On a Daily source, an hourly job writes the final fact table once a day, using the latest change it has seen.

A daily eligibility check decides whether the instance can run the feature and enables it when it can. Deactivating that check stops the feature from switching itself back on.

The feature also installs tables for snapshot indicators, scheduled collection jobs, job statistics and exclusions, the last listing tables that cannot be sources.

Collection runs alongside the classic Performance Analytics jobs. On an enabled indicator, the classic scores are not used, but the classic jobs keep running, which gives a clean rollback path. Collection copies a subset of each source table and keeps each daily change for related records, so storage use may increase. Each job writes log entries to the source record, which is the first place to look when scores stop updating.

Switching Data snapshots on

Check four conditions first. The instance runs RaptorDB Professional. The Data Snapshots plugin is active, which the platform installs automatically on an eligible instance. Production instances need a Performance Analytics subscription, and non-production instances need any Performance Analytics Premium plugin. The instance is not domain separated. Activation requires the pa_data_collector role or higher.

Open Platform Analytics, go to Library, then Indicators, and press Check instance eligibility. An eligible instance shows a banner and two tiles, one for enabled snapshots and one for supported indicators. Add the Data snapshots status and Fact table row count columns to the list. A row count of true means the table exceeds the license row limit.

Select the indicators you want, then press Enable Data Snapshots. A warning appears if a source table exceeds the license row limit or technical storage limits. An indicator marked unsupported has a record that explains why. Open that record, decide whether the indicator can be changed to fit, and try again.

Expect two side effects. A converted indicator may not show its new source until the first collection job runs, and it then follows the source’s time zone, so its calendar frequency may need adjusting.

Building native indicators and formulas

A native automated indicator suits a process recorded in a ServiceNow table. It needs a license that allows indicator creation, snapshots enabled, and a suitable source. It cannot depend on a scripted breakdown, such as an age bucket group, or a scripted aggregate. If it does, build a classic automated indicator instead. Creating one requires pa_power_user or higher.

The aggregate sets the calculation. Count counts records, Count distinct counts unique values, and the other choices aggregate a field’s values. A field is required for all aggregates except Count. Trend by is an optional date field on the source. Without it, the score is a running total. With it, the score counts changes on each date.

Consider open incidents. On a Daily source, a Count aggregate with no trend field and a Minimize direction gives the number of open incidents on each collection day, regardless of when they opened. Conditions decide which incidents count as open, and they can reference fields placed on the source. Snapshot indicators take no breakdowns of their own. The source fields serve as filters in data visualizations and in KPI Details.

Intraday indicators need an All Activity source. A typical setup pairs an intraday shift calendar and a shift frequency with a start-time trend field, so the indicator counts tasks created on each shift.

A formula indicator combines two or more snapshot indicators into one score, which suits ratios, percentages and predictive indicators. It requires pa_power_user, pa_admin or admin. The option Show 0 for null value indicators sets the result to zero when a contributing score is null, such as after a division by zero. Formulas cannot use formula utility methods or breakdowns.

Why multiple breakdowns behave differently

Classic Performance Analytics calculates breakdowns through a matrix. The calculations grow geometrically with each added breakdown, which in practice caps an indicator at two breakdowns at once. Snapshots use change data capture instead of a matrix, so an indicator can carry more than two levels.

Three behaviours catch people out. Platform Analytics experience components, meaning data visualizations and KPI Details, show more than two levels. PA widgets and the Analytics Hub stay at two. Data collected before activation supports two levels, so a third level leaves older dates empty on the chart. And on a dashboard, filters apply differently to indicators that support multiple breakdowns and to those that do not. In one worked case, a non-scripted indicator took all three dashboard filters, while a scripted indicator took the first two.

Reasons for unsupported indicators appear as a warning on their record page. Reading and tuning a snapshot chart is covered on the KPI Details page for Performance Analytics, so this guide stays with setup and limits.

Limits that block an indicator or change its behaviour

The database must be RaptorDB Professional, which is PostgreSQL. Oracle and MariaDB or MySQL are not supported. Domain-separated instances are not supported. System tables, whose names start with sys_, cannot be sources.

Several indicator types are excluded. Benchmarking indicators, indicators without conditions, scripted breakdown mappings, scripted aggregations, bucket groups, manual or external indicators, and formula methods are all unsupported. A formula needs all contributing indicators to support snapshots, so one unsupported contributor blocks the formula. Database-view sources work when the join conditions use sys_id alone. An uppercase character in the view prefix, or a shared prefix between its two tables, also blocks support.

Field types carry rules too. A breakdown or aggregation on a purely string or purely numeric field is not supported. Choice fields holding strings or integers are fine, so a Category choice works while a short description text field does not. Some operators are unavailable by type.

Field type Operators not supported with snapshots
Boolean, ChoiceTable, Reference ISEMPTYSTRING
SysClassName INSTANCEOF
String MATCH_PAT, MATCH_RGX
Currency NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUALS, GREATER_THAN_OR_EQUALS, BETWEEN, EQUALS
Relative dates LESS_THAN, LESS_THAN_EQ, GREATER_THAN, GREATER_THAN_EQ, BETWEEN

Other limits: up to 250 breakdown or aggregation fields are supported, and string fields in conditions have a 4000-character limit. Collected data starts at the enablement date. If the indicator and source time zones differ, the source time zone is used.

Some settings have no effect: Label for unmatched, Value when nil, the security type on a breakdown source, and related list conditions. Start and end periods on the collection job do not change what is collected.

Downstream views have ceilings too. Targets and Thresholds support two filters, KPI Signals support one, and indicator scorecards support two. Manual scoresheet edits have no effect on snapshot-enabled indicators. Targets on native snapshot indicators cannot name responsible users, so subscribe users to target emails instead. That needs the pa_target_admin role and an instance that sends email.

Turning the feature off

To turn snapshots off for one indicator, open it, select Disable Data snapshots, and update. The indicator returns to its previous sources and breakdown matrix, and the change can be reversed later. Instance-wide shutdown is an administrator task that sets the governing system property to false and turns off the eligibility check job. Re-enabling restores the indicators that had snapshots before.

Frequently asked questions

Can I add a field to a source after creating it?

Yes. Its history starts on the day it was added, so earlier periods show nothing for it. Fields cannot be removed once added.

Why does an indicator show as unsupported?

The record page gives the reason. Common causes are a scripted aggregation or breakdown, no conditions, a benchmarking indicator, or a formula with a contributor that does not support snapshots.

Can a PA widget show more than two breakdown levels?

No. PA widgets and the Analytics Hub stay at two levels. Data visualizations and KPI Details can show more.

How do I turn snapshots off for one indicator?

Open the indicator, select Disable Data snapshots, and update. It returns to its previous sources and breakdown matrix, and the change can be reversed later.

Next step

Start with the Performance Analytics for ITSM hub to place snapshots among your other indicator and dashboard decisions, then run the eligibility check on your instance before choosing which indicators to convert.