A Screen Flow displays records using a Data Table component. One of its configured columns points to a field that was later deleted from the object — a scenario that can arise when the flow is deployed through the Metadata API. Because the deployment doesn't validate that reference, the flow accepts it without error.
At runtime, this broken reference causes the column to render incorrectly (for example, showing null_NotFound). And since the field no longer exists, it can't be reselected in Flow Builder when attempting to fix the column configuration.
Why this happens: Flow Builder stores each Data Table column's configuration as a JSON blob inside a <stringValue> element in the flow's metadata. When a Metadata API deployment includes a reference to a field that's already been deleted, that reference gets accepted into the JSON without validation. At runtime, Salesforce can't resolve the missing field, so it falls back to showing the internal token null_NotFound (or the stale field reference) in the UI.
Steps to Reproduce:
1. Create a formula/richText field, Test__c, on ContractLineItem (on any object).
2. Deploy a Screen Flow via the Metadata API whose Data Table references this field in its columns JSON. The deployment succeeds.
3. Delete the flow in Flow Builder.
4. Delete the field in Object Manager.
5. Redeploy the same flow metadata — still referencing the now-deleted field. The deployment succeeds without error.
6. Run the flow. The column shows null_NotFound or the stale field reference.
Apply one of the following workarounds:
1. Recreate the field with its original formula or configuration. Once restored, the column resolves correctly again.
2. Remove the stale column reference:
- Open the flow metadata and delete the field reference from the Data Table's columns JSON inside the <stringValue> element.
- Redeploy the flow.
- Or, if the column is still selectable in Flow Builder, simply remove it there.
3. Verify the fix — run the flow again and confirm the column now renders as expected.
Prevention
- Before deleting a field, check everywhere it's referenced — including flows and their Data Table columns.
- After making field changes, review the columns JSON of any flows deployed through the Metadata API to catch stale references early.
005462365

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.