System Design consists of 15% of total score in Salesforce Platform Lifecycle and Deployment Architect Exam. The topic covers agile development tools, org strategy, sandbox strategy, and deployment strategy.
NOTE
Most of the content in this work was generated with the assistance of AI and carefully reviewed, edited, and curated by the author. If you have found any issues with the content on this page, please do not hesitate to contact me at support@issacc.com.
π― System Design β Agile Tools & Salesforce (Obsidian-Ready Summary)
TL;DR
Agile tools (Salesforce DX + Agile PM suites) boost speed, visibility, and quality.
Org strategy (Single vs Multi) depends on integration + standardization needs.
Sandboxes: pick Dev / Dev Pro / Partial / Full to fit dev, test, training, staging.
Deployments: combine governance + tests + rollback with DX/CLI + CI/CD.
β Learning Goals (Checklist)
- Identify agile-supporting tool types
- Explain Salesforce DX features + advantages
- Explain agile PM tools features + advantages
- Describe benefits of agile tools for a given business need
- Compare single.org vs multi.org strategies
- Select sandbox strategy for multi-stream dev, training, staging, hotfixes
- Recommend deployment components + tools for scenarios
π Why Agile Tools Matter (Advantages)
- Visibility: real-time status, boards, burndown charts, analytics
- Collaboration: shared backlogs, comments, chat, docs
- Centralization: single source of truth for artifacts & code
- Scalability & Predictability: sprints with defined scope/time/cost
- Quality: CI, automated tests, fast feedback loops, fewer defects
- Integration: connects VCS (Git), CI/CD, testing, and release workflows
π§° Agile Development Tools (Two Pillars)
1) π§βπ» Salesforce DX (for dev lifecycle)
Key features
- Salesforce CLI: create/manage orgs, run tests, deploy, data ops
- Scratch Orgs: ephemeral, configurable, ideal for CI & parallel work
- Source-Driven Dev: VCS-first changes, better merge & audit
- Dev Hub: manage scratch orgs at scale
Advantages
- Faster iteration via scratch org spin-up
- Fewer conflicts β VCS-first collaboration
- Strong CI/CD fit β quality + speed
- Configurable + disposable envs β adapt quickly
2) π Agile PM Tools (Jira/Agile Accelerator/Asana)
Core features
- Backlog management (prioritize stories/bugs)
- Sprint planning & capacity
- Kanban/Scrum boards for flow + bottlenecks
- Collaboration (comments, mentions, doc share)
- Reporting (burndown, velocity, forecasts)
- Integrations (Git, CI, test automation)
Benefits
- Transparency for teams & stakeholders
- Productivity via automation & focus on high-value work
- Quality from continuous feedback
- Consolidation of artifacts; integration with testing/CI
- Scale from small squads to enterprise programs
π§ Scenario β Recommended Agile Tooling
Cosmic Communications (adopting Scrum, global teams)
Needs: Prioritized product + sprint backlog, ownership, charts, real-time comms
Use: Agile PM tool with backlog + sprint + boards + burndown + comments
Outcome: Clear priorities, accountability, predictable sprints
Integrate PM tool βοΈ CI/Test to surface build & test status on user stories.
ποΈ Org Strategy (Single.Org vs Multi.Org)
π‘ Core Idea
Org strategy = how Salesforce is structured to maximize business value:
Architecture + Business + Technical considerations determine single vs multi.
π Decision Drivers
- Architectural: operating model, integration strategy
- Business: funding, control, LOB count, cost of many orgs, need for Customer 360
- Technical: change control, security/compliance/PII, Chatter scope, admin model, limits
π§© Enterprise Architecture Operating Models
Model | Integration | Standardization | Typical Strategy | Notes |
---|---|---|---|---|
Diversification | Low | Low | Multi.org | Independent units; consolidation is hard |
Replication | Low | High | Multi.org (+managed package from hub) | Same processes, local autonomy |
Coordination | High | Low | Few orgs (ideally single) | Shared data; integration heavy |
Unification | High | High | Single.org | One business, global standards |
Integration Patterns
Hub & Spoke (master data share) β’ ESB (decoupled) β’ Salesforce Connect (reference master data) β’ Managed Packages (push shared functionality)
πΌ Business & Technical Highlights
- Customer 360 / Global Case Management β bias Single.org
- Compliance/PII isolation β may require separate orgs
- Multiple LOBs β automatic multi.org: try COE, delegated admin, tiered data, license tax funding
- Complexity in single.org: naming, sharing model, Apex architecture, data architecture maturity
- Governance: COE, RACI, review boards, tiered admin
- Org limits: sometimes new org or increase limits with Salesforce
Scenarios
Cosmic Energy (acquisitions + varied needs)
360 across many orgs β Hub & Spoke multi.org
Standardize, no inter-process integration β Multi.org + managed packages
Asia unit w/ strict local laws β Separate regional org
New NZ LOB, independent β Stand-alone org
Cosmic Technologies (wants Chatter across LOBs)
Move Multi β Single for collaboration & admin simplification
Risks: higher architectural complexity; need strict separation of concerns, strong tech/data architecture
New independent LOB β Stand-alone org (no shared customers)
ποΈ Sandbox Strategy
π§ͺ Sandbox Types & Uses
Type | Typical Uses | Data |
---|---|---|
Developer | Dev, unit tests, hotfix dev | Metadata only |
Developer Pro | Dev + larger datasets, QA, integration | Metadata + more storage |
Partial Copy | UAT, integration, training | Metadata + sample data (template) |
Full | Performance, load, staging/UAT | Full data + metadata |
π Refresh Intervals & Storage
Sandbox | Refresh | Storage |
---|---|---|
Developer | 1 day | 200 MB data + 200 MB files |
Developer Pro | 1 day | 1 GB data + 1 GB files |
Partial Copy | 5 days | 5 GB data; files = prod |
Full | 29 days | Same as prod |
Canβt refresh?
Check license entitlements. Delete unused Fulls to match purchases and restore refresh ability.
Scenarios
Cosmic Healthcare
Parallel Sales vs Service teams β Clone Dev Pro for Service to work independently
Weekly training (5-day cohorts) β Partial Copy, weekend refresh, template-based data
Batch testing/staging β Full (full data) or Partial (subset)
Hotfix path β Dev β Full (UAT) β Prod β back-merge
Integration tests (β€10k records/object) β Partial Copy with template
Refresh Guidance
Refresh when source config drifts; Dev/Dev Pro daily, Partial every 5 days, Full every 29 days.
π Deployment Strategy
π§± Deployment Components
- Metadata components (objects, fields, Apex, LWC, flows, etc.)
- Data components (reference/seed data)
- Governance & Change Mgmt (RACI, approvals, audit trail)
- Test plans & scripts (unit/func/integration/regression/load/UI)
- Rollback strategy (backups, package reverts, destructiveChanges)
π§ Deployment Tools (When to Use What)
Tool | Best For | Notes |
---|---|---|
Salesforce DX | Source-driven dev, scratch orgs, packaging | Works great with CI/CD |
Salesforce CLI | Scriptable deploys/tests/data ops | Automate everything |
Metadata API | Bulk metadata moves | Pull/push across envs |
Ant Migration Tool | Repeatable scripted deploys | Good for pipelines |
Change Sets | Simple config between related orgs | Easy UI; org locks during validate/deploy; one Flow version |
Packages (Unlocked) | Modularize + version deployments | Immutable versions; rollback-friendly |
Automated Testing | Regression safety at speed | Selenium etc. |
CI/CD (Jenkins, GitHub Actions, Copado, Flosum) | Pipeline automation | Promote via PR/merge events |
Faster, safer deploys
Use recent validations + Quick Deploy
RunSpecifiedTests for targeted coverage
Pre-create backup sandbox or capture metadata snapshot for rollback
Scenarios
Cosmic Tech Solutions
Automate build β UAT β Prod β CI/CD (Jenkins/Copado), pipeline per env
Track metadata changes β AppExchange tracker
Rollback β deploy destructiveChanges.xml and/or restore from backup sandbox snapshot
Regional APAC/EMEA rollout β Ant/VS Code to push app; local teams maintain metadata
Simple config (e.g., Flow) β Change Sets (mind org locks + one Flow version rule)
π§ͺ Quick Decision Guides
Single vs Multi Org
Need unified Customer 360 & high standardization? β Single
Strict data isolation or divergent laws/processes? β Multi
Many independent acquisitions? β Multi with hub/spoke, managed packages
Global collaboration priority (Chatter)? β Consider Single, accept complexity
Sandbox Picker
Feature dev & unit tests? β Dev / Dev Pro
Integration/UAT with subset data? β Partial
Staging, perf, load, end-to-end β Full
Training with fresh sample data β Partial (template, frequent refresh)
Deployment Tool Picker
Scriptable, repeatable, CI-ready β DX/CLI/Ant/Metadata API
Small, admin-led configs β Change Sets
Modular, versioned releases β Unlocked Packages
Frequent releases, pipelines β CI/CD platform
π Flashcard Callouts (Collapse for Study)
Salesforce DX β 3 Must-Knows
Scratch orgs = fast, isolated, ephemeral
CLI = automate org mgmt, tests, deploys
Source-driven = fewer merge conflicts, better governance
Agile PM Tools β 3 Must-Knows
Backlog + Sprint + Boards = flow & predictability
Reports (burndown/velocity) = transparency
Integrations (Git/CI/Test) = end-to-end traceability
Change Sets β Caveats
Locks source on validate, target on deploy
One Flow version per change set
Not diff/automation friendly vs. DX
π Handy Tables
Sandbox Use Matrix
Need β / Type β | Dev | Dev Pro | Partial | Full |
---|---|---|---|---|
Unit Dev/Test | β | β | β»οΈ | β»οΈ |
Integration | β»οΈ | β | β | β |
UAT | β»οΈ | β»οΈ | β | β |
Performance/Load | β»οΈ | β»οΈ | β»οΈ | β |
Training (sample data) | β»οΈ | β»οΈ | β | β»οΈ |
Staging | β»οΈ | β»οΈ | β»οΈ | β |
Tool Comparison (Speed vs Control)
Axis | Change Sets | DX/CLI | Ant/API | Unlocked Pkgs | CI/CD |
---|---|---|---|---|---|
Setup Effort | Low | Med | Med | MedβHigh | High |
Repeatability | Low | High | High | High | High |
Governance Fit | LowβMed | High | High | High | High |
Rollback | Low | Med | Med | High | High (w/ packages) |
Best For | Simple config | Scripted dev | Large moves | Modular releases | Automation at scale |
π§ Final Takeaways
- Pair Salesforce DX with an Agile PM tool for speed + quality + transparency.
- Choose org strategy by integration/standardization needs and compliance.
- Build a sandbox ladder that mirrors your release pipeline.
- Automate with DX/CLI + CI/CD, keep tests + rollback first-class.
π Flow Charts
1) π Agile Development Workflow (DX + PM Tools)
graph LR A[Product Backlog] --> B[Sprint Planning] B --> C[Create Work Items] C --> D[Dev Task Board] D --> E[Scratch Org DX] E --> F[Source in Git] F --> G[CI Build and Test] G --> H[Deploy to Integration Sandbox] H --> I[QA or UAT] I --> J[Deploy to Production] J --> K[Monitor and Feedback] K --> A[Product Backlog]
2) Org Strategy Decision (Single vs Multi)
graph TD S[Start Org Strategy] --> Q1{High Integration Across Units} Q1 -->|Yes| Q2{High Process Standardization} Q1 -->|No| Q3{Strict Compliance Or Data Isolation} Q2 -->|Yes| SO[Recommend Single Org] Q2 -->|No| FO[Few Orgs Preferred] Q3 -->|Yes| MOI[Recommend Multi Org] Q3 -->|No| Q4{Independent But Similar Units} Q4 -->|Yes| MOR[Multi Org With Managed Packages] Q4 -->|No| MOD[Multi Org Independent Units] SO --> GOV[Strong Governance And Shared Data] FO --> GOV MOI --> HUB[Use Hub And Spoke Or Reporting Hub] MOR --> HUB MOD --> HUB
3) Sandbox Strategy Picker
graph TD S[Need An Environment] --> D{Dev Or Unit Test} D -->|Yes| DEV[Developer Or Dev Pro] D -->|No| I{Integration Or UAT} I -->|Subset Data| PC[Partial Copy] I -->|Full Data| FULL[Full Sandbox] PC --> T[Training With Weekly Refresh] FULL --> ST[Staging Or Load Testing] DEV --> HF{Hotfix Needed} HF -->|Yes| PATH[Dev To Full To Prod Then Merge Back] HF -->|No| DEV
4) Deployment Pipeline With Rollback
graph TD A[Commit To Git] --> B[CI Lint And Unit Tests] B --> C{Tests Pass} C -->|Yes| D[Build Package] C -->|No| A D --> E[Deploy To Integration] E --> F[Automated Tests] F --> G{OK For UAT} G -->|Yes| H[Deploy To UAT] G -->|No| A H --> I{UAT Approved} I -->|Yes| J[Deploy To Production] I -->|No| A J --> K[Post Deploy Monitor] K --> L{Issues Found} L -->|Yes| R[Rollback Using Backup Or Destructive Changes] L -->|No| N[Tag Release And Close]
5) Hotfix Fast Path
graph LR P[Production Incident] --> T[Triaged And Scoped] T --> D[Fix In Dev Sandbox] D --> U[Unit Tests And Checks] U --> V{Tests Pass} V -->|Yes| F[Quick UAT In Full Sandbox] V -->|No| D F --> A{Approved} A -->|Yes| DEP[Deploy To Production] A -->|No| D DEP --> M[Monitor And Postmortem] M --> B[Merge Hotfix Back To Main]
6) Hub And Spoke For Customer 360
graph TD A1[LOB A Org] --> HUB[Customer 360 Hub] A2[LOB B Org] --> HUB A3[Region APAC Org] --> HUB A4[Region EMEA Org] --> HUB HUB --> REP[Reporting Or BI]
π Flashcards
π Agile Tools
βWhat are Agile Development Tools?
Salesforce DX + Agile PM tools
Enhance team productivity & collaboration
Support iterative & incremental development
Improve visibility, scalability, and predictability
βοΈ Salesforce DX Features
CLI: manage orgs, sync code, run tests, deploy
Scratch orgs: fast, disposable dev environments
Source-driven development: version control integration
Dev Hub: manage scratch orgs at scale
π Agile PM Tool Features
Backlog & sprint management
Kanban/Scrum boards
Collaboration (comments, chat, docs)
Reports (burndown, velocity)
Integrations with Git, CI, testing tools
π‘ Benefits of Agile Tools
Visibility & transparency
Faster delivery & improved quality
Centralized artifacts
Better collaboration across teams
βWhat are the two main types of Agile tools in Salesforce development?
β Salesforce DX β for development lifecycle
β Agile Project Management tools β for task planning and collaboration
βWhat are 3 key features of Salesforce DX?
Salesforce CLI
Scratch orgs
Source-driven development (with version control)
(Bonus) Dev Hub to manage scratch orgs
βWhat are 3 features of Agile PM tools?
Backlog & sprint management
Kanban/Scrum boards
Collaboration (comments, chats, doc sharing)
Reporting (burndown, velocity)
Integrations (Git, CI/CD, testing tools)
βWhat are the main benefits of using Agile tools?
Faster delivery
Better visibility & transparency
Improved quality
Centralized repository
Scalable and predictable processes
ποΈ Org Strategy
βWhat is an Org Strategy?
A plan to structure Salesforce orgs to match business needs
Choose between:
Single Org (centralized, unified data/processes)
Multi Org (decentralized, independent units)
βοΈ Key Considerations
Architectural: operating model, integration strategy
Business: funding, control, # of LOBs, overhead
Technical: change mgmt, security, compliance, limits, admin model
π§© Operating Models
Diversification β low integration/standard β Multi Org
Replication β low integration/high standard β Multi Org (managed packages)
Coordination β high integration/low standard β Few orgs / Single
Unification β high integration/high standard β Single Org
π‘ When to Use Single vs Multi
Need Customer 360 or global case mgmt β Single
Strict legal/compliance isolation β Multi
Independent acquisitions β Multi + hub/spoke or reporting hub
Global Chatter collaboration priority β Single (accept complexity)
βWhat is a Salesforce org strategy?
A plan for structuring Salesforce environments to best fit the business
It aligns architecture, business, and technical considerations
βWhat are the two types of org strategies?
Single Org β centralized, unified data and processes
Multi Org β decentralized, independent units
βName the 4 enterprise architecture operating models
Diversification
Replication
Coordination
Unification
βWhich model best fits a Single Org strategy?
Unification β high integration, high standardization
βWhen would you choose Multi Org?
Strict compliance or data isolation
Independent acquisitions or regional teams
Very different business processes
Need for separate release governance
βWhat is a Hub & Spoke model used for?
Aggregating customer data from multiple orgs into a central hub
β Enables Customer 360 view without merging processes
π§ͺ Sandbox Strategy
βWhat are Sandboxes?
Isolated copies of production metadata/data used for:
Development & testing
Training
Staging before deployment
π§± Sandbox Types
Developer: metadata only β unit dev/test
Developer Pro: metadata + more storage β dev, QA
Partial Copy: metadata + sample data β UAT, training
Full: full data + metadata β staging, performance/load
π Refresh Intervals
Developer / Dev Pro: every 1 day
Partial Copy: every 5 days
Full: every 29 days
π‘ Strategy Tips
Clone Dev Pro for parallel teams
Use Partial for training (refresh weekly)
Use Full for final UAT or staging
Refresh when config drifts from source org
βWhat is a Salesforce sandbox?
An isolated copy of production metadata/data used for
Development
Testing
Training
Staging before deployment
βWhat are the 4 types of sandboxes?
Developer
Developer Pro
Partial Copy
Full
βWhich sandbox should be used for UAT or staging?
Partial Copy for subset data
Full for complete data
βWhat are the refresh intervals for each sandbox?
Developer / Dev Pro: 1 day
Partial Copy: 5 days
Full: 29 days
βWhat sandbox strategy helps parallel development teams?
Clone a Developer Pro sandbox for each team
Use Partial for shared QA
Use Full for final UAT/staging
π Deployment Strategy
βDeployment Components
Metadata (fields, objects, code)
Data (records, seed data)
Governance & change mgmt
Test plans & scripts
Rollback strategy
βοΈ Deployment Tools
Salesforce DX / CLI β source-driven dev, scratch orgs
Metadata API / Ant Migration Tool β scripted bulk deploy
Change Sets β simple UI deploy between related orgs
Unlocked Packages β modular, versioned deploy
Automated Testing Tools β e.g. Selenium
CI/CD Tools β e.g. Jenkins, Copado, Flosum
π‘ Deployment Tips
Track changes in version control
Validate deploys before Prod
Use
Quick Deploy
for faster rolloutsMaintain a rollback plan (backup sandbox or
destructiveChanges.xml
)
βWhat are 5 key deployment components?
Metadata
Data
Governance
Test plans & scripts
Rollback strategy
βName 5 deployment tools in Salesforce
Salesforce DX / CLI
Metadata API / Ant Migration Tool
Change Sets
Unlocked Packages
CI/CD tools (Jenkins, Copado, Flosum)
βWhen should you use Change Sets?
For small, simple deployments between related orgs with a deployment connection
(Limitations: no automation, org locks during deploy/validate, only 1 Flow version)
βWhat are best practices for safe deployment?
Track changes in version control
Validate deployments
Use
Quick Deploy
for speedHave a rollback plan (backup sandbox or
destructiveChanges.xml
)
βWhat does CI/CD do in Salesforce development?
Automates build β test β deploy
Reduces human errors
Speeds up releases
Increases consistency and reliability