Salesforce deprecates features; orgs must migrate. Architects manage this.
Currently deprecated / end-of-life:
- Process Builder — migrate to Flow.
- Workflow Rules — migrate to Flow.
- Aura Components — gradually replace with LWC.
- Visualforce — for new work, prefer LWC.
- Some older API versions.
- Salesforce Classic UI — Lightning is the future.
- Various older AppExchange packages.
Process for managing deprecation:
1. Track timelines.
- Salesforce announces deprecations in release notes.
- Set a calendar reminder for each deprecation deadline.
2. Inventory affected components.
- "All Process Builders" in this org.
- "All Aura components".
- Quantify impact.
3. Migration plan.
- Per category: scope, effort, sequence.
- Pilot one; expand.
- Phased over multiple releases / quarters.
4. Use Salesforce migration tools.
- Migrate to Flow for Process Builder.
- Lightning Experience Configuration Converter for Classic.
- Salesforce typically provides migration aids.
5. Test thoroughly.
- Side-by-side validation.
- User testing.
- Performance comparison.
6. Activate new; deactivate old.
- Don't run both — duplicate side effects.
- One source of truth.
7. Verify deprecation handled.
- Re-inventory: is everything migrated?
- Address residuals.
Common patterns:
- Modernisation sprint — concentrated effort to migrate.
- Continuous migration — every sprint includes deprecation cleanup.
- Big-bang migration — concentrated cutover (riskier).
Pitfalls:
- Ignoring deprecation — features stop working at deadline.
- Half migration — some Process Builders done, others linger.
- No testing — migrated automation behaves differently.
Architectural insight: deprecated features become security and reliability risks — Salesforce stops investing in them; bugs go unfixed.
Track deprecations like risks; manage proactively.
Senior architect insight: deprecation is normal in evolving platforms. Architecture should anticipate it: don't lock heavily onto features being phased out; design with abstractions where possible.
The senior framing: technical debt from ignored deprecations compounds. Pay down quarterly; don't let it accumulate.
