# What governance strategies ensure long-term data quality and hygiene across large Sales Cloud implementations?

**Topic:** Sales Cloud · **Difficulty:** Medium · **Tags:** Sales Cloud, Data Governance, Data Quality

Read it on the site: https://www.forcechallenges.com/interview-questions/what-governance-strategies-ensure-long-term-data-quality-and-hygiene-across-large-sales-cloud-implementations

## Answer

**Basics:** Bad data (duplicates, stale opportunities, missing fields) wrecks forecasts and trust. Governance defines who owns each object, which fields are mandatory and when, and how issues are found and fixed.

**How it works:**
1. Prevent: required fields via page layout or field definition, validation rules, restricted picklists and global value sets, record types and Path guidance, Flow screens that capture data in the right sequence.
2. Dedupe: matching rules plus duplicate rules (Alert or Block), and Duplicate Jobs where licensed.
3. Detect: dashboards of data-quality KPIs (percent of opportunities with no next step, accounts missing industry, stale open opportunities).
4. Enrich: use approved enrichment providers or integrations (Data.com was retired in 2020).
5. Retain: archive or delete old data, and keep field history for audit.
6. Govern: a data steward per object, a change-control process for fields, and a documented data dictionary.

**Advanced / deep dive:** Prevention beats cleansing, but validation rules that are too strict drive workarounds and integration failures, so use bypass via custom permissions for integrations. Field-level audit: Field History Tracking covers 20 fields per object, retained 18 months in the UI and 24 months via API; Field Audit Trail (Shield) extends retention to a long, configurable period. For scale, use Bulk API jobs for corrections, run scheduled Flows or Batch Apex for standardization, and track data-quality scores in a custom field. Master data across systems may need an MDM layer or Data Cloud for identity resolution. Treat metadata (fields, picklists) as governed: unreviewed field sprawl is itself data debt.

**Code / config example:**
```sql
-- Stale open opportunities: no activity in 90 days and close date passed
SELECT Id, Name, OwnerId, CloseDate, LastActivityDate
FROM Opportunity
WHERE IsClosed = false AND CloseDate < TODAY
  AND (LastActivityDate = NULL OR LastActivityDate < LAST_N_DAYS:90)
```
Schedule this as a report or a Flow that notifies owners weekly.

**Hidden gotchas & must-remember points:**
- Validation rules also fire for integrations and data loads; give them a bypass.
- Duplicate rules do not clean existing data; run a duplicate job or merge tool.
- Field history covers only 20 fields per object and does not capture creation.
- Required on a page layout is UI-only; required at field level also blocks API and Flow.
- Data.com and Data.com Clean are retired; do not plan around them.
- Merging only handles up to 3 records at a time.

**Best practice:** Assign owners, publish a data dictionary, and review a small set of quality KPIs monthly.

---
Source: ForceChallenges · last updated 2026-11-02
