---
title: "Workday Extend Data Model Updates: Safeguarding…"
description: "Safely update Workday Extend Custom Business Objects without breaking production apps. Learn field deprecation patterns and immutability rules."
url: https://kiweely.com/guides/workday-extend-schema-migrations
---

# Workday Extend Data Model Updates: Safeguarding Irreversible Changes

How to handle Workday Extend schema changes, field deprecations, and model versioning safely without leaving orphan data or breaking deployed applications.

-   **Checked** against Workday on October 5
-   Applies to **Workday Extend**
-   3 min read
-   Published October 5
-   By Kiweely

Upgrading an existing Workday Extend application is fundamentally different from editing application source code. While page layouts (PMD) and orchestrations can be revised, replaced, or rolled back between versions, **data model changes are often irreversible once deployed to a tenant**.

When an Extend app defines a Custom Business Object (CBO) and stores records in a tenant, modifying attribute types or removing fields can permanently break existing data or block promotion.

This guide explains how Workday handles data model changes and outlines the safe deprecation patterns to follow when updating live applications.

## 1\. The Immutability Rules of Extend Business Objects

Workday enforces strict schema backward compatibility to prevent data corruption in enterprise tenants:

-   **Field Deletion is Restricted:** Once an attribute on a Custom Business Object has been promoted and contains persisted values, removing that attribute from your Application Metadata Definition (AMD) will trigger validation errors during tenant deployment.
-   **Type Narrowing is Prohibited:** You cannot change a text field to an integer, or convert a multi-select reference into a single-select reference, if records already exist.
-   **Mandatory Field Constraints:** You cannot introduce a new non-nullable (required) attribute on an existing object without providing a valid default or migration path, because existing rows will violate the schema.

## 2\. Safe Field Deprecation Pattern (The Expand/Contract Model)

Instead of modifying or deleting an existing field directly, use the three-stage Expand/Contract pattern:

### Phase 1: Expand (Introduce the New Field)

1.  Add the new attribute to the Custom Business Object definition in your application metadata with an updated, descriptive name (for example, `targetCompletionDate` instead of `dueDate`).
2.  Keep the legacy attribute in the model, but mark its description or UI presentation as deprecated.
3.  Update all Page Model Definitions (PMD) and Orchestrations to write to the new field while maintaining fallback reads from the legacy field if the new field is blank.
4.  Deploy this version to your Development and Sandbox environments and verify that new records populate the new attribute.

### Phase 2: Migrate (Backfill Existing Records)

1.  If historical records need to reflect the new structure, write a data migration orchestration or run an administrative batch update to copy legacy field values into the new field format.
2.  Verify with a WQL query that all active instances now have the new attribute populated.
3.  Remove the legacy field from all user-facing PMD pages, reports, and API inputs so that no new transactions write to it.

### Phase 3: Contract (Retire the Legacy Field)

1.  Remove any business logic or validation rules that depend on the legacy attribute.
2.  In the Application Metadata Definition, leave the legacy attribute present but unused, or mark it read-only in the application security definition.
3.  By leaving the physical attribute definition intact in the model, existing tenant records remain valid and will not fail tenant promotion checks.

## 3\. Pre-Promotion Verification Checklist

Before promoting a new application version containing data model changes from Development to Sandbox or Production, verify these four checks:

1.  **Schema Diff Inspection:** Compare the old AMD data model definition against the new AMD file. Confirm that no existing attribute names or fundamental data types were altered in place.
2.  **Nullable Check on New Attributes:** Ensure every newly added attribute on existing Custom Business Objects is defined as optional (nullable) or has an automated default value assigned on create.
3.  **WQL Query Regression:** Run existing WQL queries against the updated object schema in Sandbox to confirm that field aliases, relationship paths, and filter clauses continue to return expected rows.
4.  **Promotion Dry-Run:** Use Workday’s app deployment validation tool in your target tenant before initiating the final installation. Look for warnings regarding schema changes or dependency collisions.

## Sources checked

-   [Workday Extend Documentation: Application Deployment and Promotion](https://developer.workday.com/documentation/zlx1623192834267)

## Related guides

[All guides](https://kiweely.com/guides)

-   [### Workday Extend app validates but won’t deploy or promote Validation checks your source. Deploy, promote and install are separate actions against a tenant, and each fails for its own reason that validation never tests.](https://kiweely.com/guides/workday-extend-deploy-errors)
-   [### How should I test a Workday Extend app before promoting it to production? Test in the order Workday promotes: App Preview and mock data, a Development tenant, Implementation for QA, then Sandbox with production data for acceptance. Promote to Production only after each stage has recorded evidence, because installed apps cannot be removed.](https://kiweely.com/guides/workday-extend-testing)
-   [### How do I find the real cause of a Workday Extend app validation error? First work out which check rejected the app: the App Builder Validate pane, the build log from Save to App Hub, the deploy, or the running page. Then match the code (E102, P300, B100) to Workday’s own text, fix that one cause and rerun the same check.](https://kiweely.com/guides/workday-extend-validation-errors)

### More guides on Extend apps and pages

[All 105 guides](https://kiweely.com/guides#extend)

-   [Workday Extend PMD page errors: what’s actually failing](https://kiweely.com/guides/workday-extend-pages-errors)
-   [Workday 2027R1 Release Guide: Key Dates, Sandbox Preview Window, and Regression Testing Plan](https://kiweely.com/guides/workday-2027r1-release-guide-dates-preview-testing)
-   [Productizing Workday Extend: Turning Custom Requests Into 2-Week Fixed-Scope Sprints](https://kiweely.com/guides/productizing-workday-extend-fixed-scope-sprints)
-   [Workday Extend December 2026 Model Components Compiler Upgrade: Deprecation Checks and Migration Guide](https://kiweely.com/guides/workday-extend-december-2026-model-compiler-upgrade)
-   [Workday Data Sources and Primary Business Objects (PBO): How to Pick the Right Data Source for Any Custom Report](https://kiweely.com/guides/workday-data-sources-primary-business-objects-selection-guide)
-   [Workday Extend December 2026 Model Components Compiler Upgrade: What Changes and How to Check Your App](https://kiweely.com/guides/workday-extend-december-2026-model-components-compiler-upgrade)
-   [Workday GDPR Purge Person Data and Data Retention Guide](https://kiweely.com/guides/workday-gdpr-purge-person-data-retention)
-   [Workday Journeys vs. Workday Extend vs. Onboarding Business Process Tasks](https://kiweely.com/guides/workday-journeys-vs-extend-vs-onboarding-tasks)

### From the blog on Extend apps and pages

[All posts](https://kiweely.com/blog)

-   [From Business Brief to Tested Workday Extend App: Why Zero Validation Errors Is Not Proof](https://kiweely.com/blog/why-workday-extend-validation-is-not-testing)
-   [Five Workday Extend app blueprints you can build in a free personal tenant](https://kiweely.com/blog/five-workday-extend-apps-to-build-in-open-developer-program)
-   [When a Workday Custom Report Is Enough vs. When You Need Prism or an Extend App](https://kiweely.com/blog/when-workday-custom-report-is-not-enough)

## Let Workday check the work.

Kiweely writes WQL and builds orchestrations in your own tenant, and Workday, not Kiweely, says whether they passed.

[Start for free](https://kiweely.com/download) [Book a demo](https://kiweely.com/demo)

## Get the next guide in your inbox.

One email a month with new guides and one Extend tip. Nothing else.
