What It Is

Clone in ServiceNow is the platform's native process for copying database records from one instance to another, fundamentally different from traditional IT concepts of system cloning or virtualization. While IT professionals might think of cloning as duplicating entire systems or virtual machines, ServiceNow's clone operates at the data layer — it's a selective, table-by-table replication of records that maintains referential integrity while excluding specific data sets deemed inappropriate for non-production environments. The process creates an exact replica of your production data structure and content in target instances, but with built-in intelligence to skip sensitive or environment-specific information like email logs, system logs, and authentication records.

Architecturally, clone sits at the instance management layer of the ServiceNow platform, operating above the database but below application logic. It's essentially ServiceNow's answer to the fundamental challenge of multi-instance development: how do you maintain realistic test data without compromising security or performance? The clone process leverages ServiceNow's understanding of its own data model — it knows which tables contain business data worth replicating, which contain system artifacts that should be preserved in the target instance, and which contain operational debris that adds no value to development or testing activities.

From a business operations perspective, clone solves the critical problem of testing with production-like data without the risks associated with developing directly in production. In ITSM practice, this means your developers can test incident workflow changes against actual incident records, configuration managers can validate CMDB updates against real configuration items, and process owners can evaluate workflow modifications using genuine historical data. For ITOM implementations, clone ensures that discovery schedules, monitoring configurations, and operational intelligence dashboards can be tested against realistic infrastructure data. In ITAM scenarios, it provides authentic asset records, contract data, and licensing information for testing procurement workflows and compliance reporting.

ServiceNow designed clone this way because the alternative approaches — synthetic data generation, manual data creation, or full database replication — each create significant problems. Synthetic data doesn't capture the complexity and edge cases of real production data, leading to bugs that only surface post-deployment. Manual data creation is time-intensive and typically results in overly clean datasets that miss the messy reality of production environments. Full database replication brings along operational data that consumes storage, creates security risks, and clutters development environments with irrelevant system noise. ServiceNow's clone strikes a balance: comprehensive enough to support realistic testing, selective enough to avoid operational baggage.

The interaction model varies significantly by role. Platform administrators initiate and monitor clones, dealing with scheduling, exclusion set management, and post-clone verification. Developers consume clone results, relying on fresh production data to test customizations and validate functionality. End users typically interact with clone indirectly — they experience the benefits of better-tested changes and more realistic training environments, but they don't directly trigger or configure clone operations. Process owners use cloned data to validate business process changes and train staff on new procedures. System integrators and third-party developers depend on clones to test integrations against realistic data volumes and patterns.

Without clone, ServiceNow implementations would face a fundamental development lifecycle crisis. Organizations would be forced to choose between developing directly in production — risking data corruption and service disruption — or developing against empty or artificial datasets that miss the complexity of real business data. Testing would be superficial, missing edge cases that only emerge with production data volumes and patterns. Training environments would be sterile and unrealistic, failing to prepare users for actual system usage. Integration testing would be nearly impossible without realistic data relationships and volumes. The platform's promise of safe, iterative development would collapse, forcing organizations into waterfall-style, big-bang deployments with significantly higher failure rates.

Where It Fits in the Platform

Clone operates as a critical bridge in ServiceNow's instance hierarchy model, sitting between the data layer and the application development lifecycle. It's deeply integrated with the platform's understanding of its own schema — clone operations leverage the same table metadata, data dictionary definitions, and relationship mappings that power the ServiceNow application layer. This integration means clone inherits ServiceNow's built-in intelligence about data relationships, referential integrity, and table dependencies, ensuring that cloned data maintains the complex web of references that make ServiceNow applications function correctly.

The clone process also intersects with ServiceNow's security and compliance frameworks. It respects domain separation boundaries, applies data access controls during the replication process, and integrates with encryption and data classification systems. Clone operations are audited through the same mechanisms that track other platform activities, creating an audit trail for data movement between instances. This positioning makes clone not just a development tool, but a governed data management process that can satisfy regulatory and compliance requirements around data handling and environment separation.

Key Relationships:

  • Update Sets — Clone provides the data foundation that Update Sets deploy code against. Without fresh cloned data, Update Set testing occurs in artificial environments that miss real-world data interactions.
  • Domain Separation — Clone respects and preserves domain boundaries, replicating domain-specific data while maintaining separation rules in target instances.
  • Dictionary — Clone operations rely on data dictionary definitions to understand table structures, relationships, and field types during the replication process.
  • Upgrade — Clone and upgrade processes are coordinated to ensure development instances receive both fresh production data and the latest platform version in the correct sequence.
  • sys_id — Clone maintains all sys_id values from source to target, preserving the unique identifiers that maintain referential integrity across cloned datasets.
  • Attachment — File attachments associated with cloned records are replicated along with the record data, maintaining complete data relationships in target instances.

How You Encounter This in Practice

Free Newsletter

Enjoying this? Get one deep-dive per week.

Join 1,000+ ServiceNow pros — scripts, GlideRecord patterns, Flow Designer techniques, and career moves. Free.

No spam · Unsubscribe anytime

Development Testing Crisis

You're a ServiceNow developer who just built a complex business rule to automatically assign incidents based on configuration item relationships and user location data. Your testing in the development instance worked perfectly with the handful of test records you created, but when the change deployed to production, it started creating assignment chaos — incidents going to wrong groups, null pointer exceptions in the logs, and angry calls from the service desk. The problem becomes obvious when you examine your test data: you created clean, simple CI relationships and straightforward user records, missing the messy reality of duplicate CIs, incomplete location data, and circular reference relationships that exist in production.

Understanding clone unlocks the solution: by running a fresh clone before your next development cycle, you get access to the actual production data patterns that break your logic. You can test against the real CI relationships, actual user records with missing fields, and the genuine data quality issues that exist in production. This transforms your testing from optimistic scenarios against clean data to defensive coding against messy reality. Without this knowledge, developers continue building against artificial datasets, leading to a cycle of failed deployments and emergency fixes.

Training Environment Mismatch

You're a process owner rolling out a new incident management workflow to your service desk team. The training sessions went well in your development instance — agents could easily find the test incidents, the assignment groups were clearly named, and the form layouts made perfect sense. But when users started working in production, they struggled to apply their training: real incident descriptions are cryptic and poorly formatted, assignment groups have confusing names inherited from organizational changes, and the sheer volume of existing records makes finding relevant examples difficult. User adoption suffers because the training environment bore no resemblance to their actual work environment.

Understanding clone reveals why dedicated training instances fed by recent production clones create dramatically better training outcomes. Users can practice on realistic incident descriptions, work with familiar assignment group names, and experience the actual data volumes they'll encounter daily. The training becomes immediately applicable because it mirrors their production environment. Process owners who don't leverage clone end up with training programs that teach idealized processes rather than practical skills for working with real organizational data.

Performance Testing Blindspot

You're a platform administrator who built what seemed like an efficient solution for automated asset discovery correlation. Your development instance testing showed sub-second response times and clean correlation results. After deploying to production, users started complaining about slow login times and dashboard timeouts — your correlation logic was running constantly, processing thousands more CI records than existed in your test environment, and creating database locks that affected other platform operations. Load testing wasn't possible in development because you had only a few hundred test CIs instead of the 50,000 configuration items in production.

Understanding clone provides access to production-scale data for realistic performance testing. With a recent clone, you can identify the queries that become inefficient at scale, discover the data patterns that trigger excessive processing, and optimize your solutions against actual data volumes before deployment. This prevents the common pattern of solutions that work in development but create performance problems in production. Administrators who don't use clone for performance validation often find themselves reactive, optimizing solutions only after they've caused production issues.

What People Get Wrong

⚠️

Clone is just a backup process that can be used for disaster recovery.

This misconception stems from traditional IT operations where cloning systems typically serves backup and disaster recovery purposes. ServiceNow's clone is fundamentally different — it's a development lifecycle tool, not a backup mechanism. The clone process excludes significant amounts of operational data including system logs, email records, and various system tables that would be critical for disaster recovery but are counterproductive for development environments. Additionally, clone is a one-way, point-in-time copy that doesn't maintain ongoing synchronization between instances.

Organizations that treat clone as a backup solution find themselves unprepared for actual disaster scenarios. The excluded tables contain critical operational data — audit logs, email communications, system performance data — that would be essential for forensic analysis and compliance requirements following a disaster. The timing of clone operations is optimized for development cycles, not recovery time objectives. When real disasters strike, attempting to restore from clone data creates gaps in operational continuity and potential compliance violations.

The production consequences of this misunderstanding include inadequate backup strategies that fail during actual outages, compliance gaps when audit trails are incomplete, and false confidence in recovery capabilities that evaporate during crisis situations. Proper disaster recovery requires dedicated backup solutions that preserve complete instance state, maintain recovery point objectives appropriate for business requirements, and include all operational data necessary for forensic analysis and compliance reporting.

⚠️

Clone copies everything from production, so cloned instances contain identical data to production.

This assumption leads to significant surprises when clone operations complete and administrators discover that substantial amounts of data are missing from the target instance. ServiceNow's clone process uses exclusion sets — predefined lists of tables that are intentionally skipped during replication. These exclusions include system logs, email records, notification history, certain system configuration tables, and various operational data that adds no value to development activities but consumes significant storage and processing resources.

The exclusion strategy is intentional and generally beneficial, but creates problems when developers or testers expect complete data replication. Testing scenarios that depend on email history, system log analysis, or notification workflows may fail unexpectedly because the supporting data wasn't cloned. Integration testing with external systems that expect complete audit trails can produce false negatives. Performance testing may be unrealistic if the excluded operational data represented significant database load in production.

In practice, this misunderstanding causes development teams to build test scenarios that fail because they assume data availability that doesn't exist post-clone. Troubleshooting becomes difficult when expected records are missing, and workarounds become necessary for testing functionality that depends on excluded data. The solution requires understanding ServiceNow's default exclusion sets, customizing them when necessary for specific testing requirements, and building test scenarios that account for the selective nature of clone operations. Organizations must balance the benefits of clean development environments against the need for comprehensive testing data.

Admin vs Developer Perspective

For Admins

Admins control clone configuration through the Clone Definition table (clone_definition) where they determine which tables get excluded and set up data preservation rules. They must understand that clones will reset all scheduled jobs and notification states, requiring post-clone cleanup tasks to restore operational systems. The critical decision admins make is timing—clones lock both source and target instances during the process, so scheduling during maintenance windows is essential. Admins also troubleshoot failed clones by analyzing logs in the Clone History table and understanding that partial failures often require starting over rather than resuming.

For Developers

Developers need to understand that clones preserve sys_id values but break external integrations and any hard-coded references to the source instance. They must design applications to be clone-resilient by using relative URLs, instance-agnostic configurations, and avoiding dependencies on excluded tables. Post-clone scripts often need to run to update integration endpoints, reset connection aliases, and reactivate disabled scheduled jobs. Developers can query clone status programmatically through the clone_instance table to build automation around clone completion events.

How It Connects to Other Concepts

  • Update Sets — clones copy all update sets including their current state (previewed, committed, ignored), but the clone process doesn't automatically commit pending changes. Development work in progress gets transferred exactly as-is, which can create confusion when developers expect clean states post-clone.
  • Scheduled Jobs — all scheduled jobs are automatically set to inactive during the clone process to prevent the target instance from sending emails, triggering workflows, or performing other automated actions meant for production. This requires manual reactivation of legitimate jobs needed in sub-production environments.
  • MID Servers — clone operations don't transfer MID Server configurations or certificates since these are environment-specific infrastructure components. Sub-production instances require separate MID Server installations and configurations, making integration testing more complex than simple clones suggest.
  • Data Sources — import set tables and their associated data sources get cloned but maintain references to production systems, causing sub-production instances to potentially pull live data or write back to production systems. Data source URLs and credentials must be updated post-clone to point to appropriate test systems.
  • Certificates — while certificate records are copied, the actual certificate files and private keys are excluded from clones for security reasons. Any HTTPS integrations, SAML configurations, or encrypted communications will break post-clone until certificates are manually reinstalled and configured.
  • Email — the sysevent_email_action and sys_email tables are excluded from clones to prevent accidentally sending production emails from development instances. Email notifications must be manually configured with test recipients or alternative delivery mechanisms in sub-production environments.

Junior vs Senior Knowledge Gap

Junior developers and administrators typically treat clones as magic reset buttons, expecting everything to work identically to production immediately after completion. They underestimate the extensive post-clone configuration required and often miss critical issues like broken integrations, disabled scheduled maintenance, and certificate problems that only surface when business processes actually run. The most common mistake is assuming that because the clone succeeded, the target environment is fully functional—they don't realize that "successful clone" only means data transfer completed, not that the instance is operationally ready.

The mental model shift happens when professionals understand that clones create data snapshots, not working environments. Experienced practitioners know that clone success is measured not by data transfer completion, but by how quickly they can make the target instance operationally equivalent to production for their specific use case. They develop systematic post-clone checklists covering integration endpoints, scheduled jobs, notification recipients, and external system connections because they've learned that consistent, repeatable processes prevent the inevitable "why isn't this working" emergencies that plague ad-hoc clone operations.

Senior architects know the unwritten rules that never appear in ServiceNow documentation: clones always take longer than estimated, especially for instances with heavy customization or large attachment volumes. They understand that clone performance degrades significantly when the source instance is under heavy load, so timing matters more than ServiceNow admits. Most importantly, they've learned that partial clone failures are usually faster to restart than troubleshoot, despite the temptation to investigate and resume—the clone process doesn't handle interruptions gracefully, and attempting to fix mid-process issues typically extends downtime rather than reducing it.

Seasoned professionals ask different questions before initiating clones: what's the business impact if this takes twice as long as expected, which integrations will break and how long to fix them, and whether the target environment really needs production data volume or if a targeted data subset would serve the purpose better. They've been burned by weekend "quick refreshes" that turned into Monday morning disasters, so they plan clones with the same rigor as production deployments. They also understand the political dimension—clone timing affects multiple teams, and managing stakeholder expectations around realistic timelines and post-clone readiness prevents the finger-pointing that happens when environments aren't available when promised.

Quick Reference

  • The sys_attachment table is included in clones by default, often doubling clone duration for instances with significant file storage—consider excluding if development work doesn't require production attachments
  • Clone operations lock both source and target instances—users on production experience read-only mode during the entire clone process, not just during the final switchover
  • The clone_cleanup business rule automatically sets all scheduled jobs to inactive and updates instance-specific configurations like email domains and integration URLs based on predefined patterns
  • Discovery and Service Mapping data gets cloned but becomes immediately stale—CI relationships and operational data reflect production state at clone time, not current sub-production reality
  • Clone exclusion rules in clone_data_exclude support wildcard patterns—you can exclude entire table hierarchies like 'sys_audit*' or 'pa_*' to skip all audit records or Performance Analytics data
  • OAuth credentials and API keys are deliberately scrambled during clone operations for security—any REST integrations using stored credentials will fail until manually reconfigured with appropriate test system credentials
  • Transform maps and field mappings are cloned exactly, including production data source references—imports that worked in production will often fail in development until data source endpoints are updated to point to test systems
  • The sys_user_session and sys_user_presence tables are excluded by default—users don't remain logged in across clone operations and presence indicators reset to offline
  • Clone status tracking in clone_instance provides percentage completion estimates, but these aren't linear—the final 10% often takes 30% of total time due to index rebuilding and referential integrity checks
  • LDAP and SSO configurations are cloned but immediately disabled for security—authentication falls back to local ServiceNow accounts, often catching teams off-guard when their usual login methods don't work