Set up Performance Analytics data collection in ServiceNow with two jobs: an on-demand historical job for the backfill and a daily job for the last completed day. Each job’s date settings determine the period it evaluates; its schedule determines when it runs.
Configure the sources and indicators first, then separate recurring collection from historical backfill. The collection period, query time zone, indicator membership, and domain configuration determine which records contribute to the resulting scores.
Plan Performance Analytics data collection around the reporting period
Start with the indicator source, breakdown sources, and indicators. These definitions must exist before a collection job can return results. Write down the business question, the source table and conditions, the reporting frequency, and the period the first chart should display. This gives you something concrete to compare against the collected scores.
Separate two decisions: when a job executes and which period it evaluates. A daily schedule does not itself specify yesterday as the collection period. The period comes from the job’s date settings. Mixing those decisions can leave a regularly running job evaluating the wrong interval.
For a new indicator, plan a historical job and a recurring job together. Give each a name that identifies its purpose. Keep the historical range separate from the daily range so the handoff has no unintended gap. Before changing production scheduling, check these settings on your instance and release; the field descriptions here follow Brazil.
Create the recurring collection job
Creating or scheduling a collection job requires pa_data_collector or admin. Navigate to All > Platform Analytics Administration > Data Collector > Jobs and select New. Enter a descriptive Name, then choose the Operator that matches the collection period.
- Fixed: use Fixed start and Fixed end to identify an absolute date range.
- Relative: use Relative start and Relative start interval for the beginning, and Relative end and Relative end interval for the end, measured back from execution.
For daily collection of the last completed day, set both relative boundaries to one day ago. Select Daily in Run, choose the execution Time, and keep Active selected for scheduled execution. Schedule collection after the intended day has finished in the reporting time zone.
Other schedules expose different timing fields. With Weekly, Day selects the weekday. With Periodically, Repeat Interval sets the spacing between runs, while Starting establishes the first execution date and time. Once also uses Starting. Check these fields when changing Run: a repeating interval and a selected weekday express different schedules even when the collection date range stays unchanged.
Save the form through the form header, then use Edit in the Indicators related list to associate the indicators. Include at least one indicator; a configured schedule without indicator membership cannot return results. Select Submit when the setup is complete.
The collector makes one database query per indicator source used by the associated indicators. Indicators sharing that source therefore use data from the same point in time. Review source reuse when comparing related measures. Also avoid assigning an indicator to multiple active jobs without a defined reason, because overlapping ownership makes troubleshooting harder.
Backfill history with a separate job
Configure historical collection as an on-demand job and execute it once for the intended range. For example, to initialize roughly two months of daily scores while reserving yesterday for recurring collection, use Relative start of 60 with days ago and Relative end of 2 with days ago. Set Run to On demand and use Execute now.
Create the recurring job with both boundaries at one day ago. This divides the initial history from the continuing schedule. Record the handoff dates before execution so another administrator can tell whether a missing date belongs to the historical run or the daily run. Keep an execution note with the indicator names, requested interval, and expected first and last score dates. Compare those expectations with the resulting series before handing the dashboard to its audience.
Choose a historical range that the available records and indicator conditions can support. Before requesting a long backfill, inspect what the source conditions would select for representative dates. A large requested range is not evidence that the resulting trend will answer the intended business question.
Validate a small selection of collected periods against the underlying records and filters. Check the first period, the final historical period, and the first scheduled period.
For operational follow-up after execution, see Performance Analytics collection jobs, collectors, and logs.
Check query time zones and domain boundaries
Run as tz controls the time zone used by collection queries. It defaults to the system time zone and determines the meaning of date conditions such as Today. Use the company’s reporting time zone where one is defined. The job’s Time field, however, follows the user session time zone, rather than Run as tz.
Translate the intended execution time into the session time zone before saving. Then inspect a source condition near a day boundary. A job can start at the desired clock time while its queries still assign records to a different reporting day if these settings are inconsistent.
Do not use Run as as a substitute for access controls. Collection follows domain behavior rather than the selected user’s permissions; ACLs and business rules do not govern collection jobs. Review which records should contribute before exposing the resulting measures to dashboard readers.
Associating a domain configuration requires pa_data_collector or admin and the Performance Analytics – Domain Support plugin. Open the job, select Edit in the Domain Configurations related list, choose the configurations, and select Save. A separate collection job runs for each included domain.
Keep domain membership distinct across associated configurations. When domains overlap, scores from the configuration with the highest Order are preserved for those domains. Also review the Run as user’s execution domain context. The broader design belongs with Performance Analytics domain separation.
For help planning this work, see ServiceNow implementation.
Identify whether Data snapshots supplies the scores
Before investigating a score discrepancy, identify the indicator’s collection model. In Platform Analytics > Library > Indicators, inspect Source and the Data snapshots status. Converted sources carry the Data Snapshots source: prefix, while classic sources carry Indicator Source. Converted sources appear in the library after their first Data snapshots collection job.
Classic collection jobs continue running alongside Data snapshots jobs. Their scores are not used for indicators with Data snapshots enabled. Consequently, a successful classic job does not establish which collection supplied the score you are investigating.
Users with pa_data_collector, pa_admin, or admin can access Data snapshots sources through Platform analytics administration > Data sources > Data snapshots. Source records contain enablement and collection logs. Data snapshots jobs are separately available read-only to pa_admin users through Platform analytics administration > Data collector > Data snapshots jobs.
These jobs copy part of the source table and daily record changes, which can increase storage use. Include retention and selected fields in the collection design. Once the score lineage is clear, review its presentation through Platform Analytics data visualizations and charts.
Choose collector settings and cancel jobs safely
The optimized collector uses temporary disk storage for packets of scores before writing them to score tables. It supports instances using Scores Level 1 and Scores Level 2, but does not support Oracle databases or instances still using the Performance Analytics Scores table. Check storage architecture before treating an optimization setting as a remedy for a slow backfill.
Memory optimization can trade lower memory pressure for higher CPU use and longer processing. Review the collection range and workload together rather than judging success by elapsed time alone. Where text analytics and scores need different schedules, the Collect field supports Scores only, Text index only, or Both scores and text index.
To cancel an active job, use an account with both pa_data_collector and schedule_admin, or with admin. Open the job under All > Platform Analytics Administration > Data Collector > Jobs and select Cancel Job. Record which interval was being collected so the next review starts with the affected dates.
Questions about collection edge cases
How do business calendars change relative intervals?
The periods ago interval follows periods defined by a business calendar. Consider it when the job serves indicators using business calendars, especially when calendar periods differ from the date ranges your team normally uses.
How should a monthly job collect a completed month?
For a Monthly schedule, set Day to 1 and Time shortly after midnight. This allows collection for the completed month despite differences in month length. Translate the execution time using the session time zone.
What should a conditional script return?
Its last expression should evaluate to a Boolean value. Collection conditional scripts run in a sandbox that restricts function definitions and certain API components. Disallowed components can lead to Collected with errors without score collection.
Can a disabled Data snapshots job be re-enabled from its source?
The Data collection enabled checkbox can disable collection. Re-enabling requires Now Support involvement. Treat disabling as a planned operational decision, with an owner and a record of why collection was stopped.