![Page 1: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/1.jpg)
![Page 2: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/2.jpg)
Irina Khomyakova
![Page 3: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/3.jpg)
"Safe harbor" Statement
● Forward -looking statements?● Jeff is not an MVP :-)● YMMV
![Page 4: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/4.jpg)
Application Lifecycleand
Development Models
![Page 5: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/5.jpg)
Take the Trail
● Determine Which Application Lifecycle Management Model is Right for You
![Page 6: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/6.jpg)
Idea
![Page 7: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/7.jpg)
Do some work...
● Collect User Stories● Build● Test● Release
![Page 8: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/8.jpg)
Work Becomes Metadata
● Metadata
○ Objects - Contact
○ Fields - Name
○ Automation – Process Builders● Data
○ Values – Jenny Walker – 612-867-5309
![Page 9: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/9.jpg)
Phase 1
![Page 10: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/10.jpg)
Idea
![Page 11: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/11.jpg)
Do more work...
● Collect User Stories● Build● Test● Release
![Page 12: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/12.jpg)
Iterate
![Page 13: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/13.jpg)
Typical Lifecycle
![Page 14: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/14.jpg)
Project Management to Track Changes
![Page 15: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/15.jpg)
Places to Develop
![Page 16: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/16.jpg)
Production Development
What's Safe?● Reports● Dashboards● Email templates?
![Page 17: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/17.jpg)
Sandbox Development
![Page 18: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/18.jpg)
Scratch Orgs
● Stay Tuned...
![Page 19: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/19.jpg)
Releases
![Page 20: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/20.jpg)
Release Metadata Flow
![Page 21: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/21.jpg)
Types of Releases
Patch
Minor
Major
As needs arise, fixing an issue, deploy when done
Day to day updates, align with sprint cadence
Center around large initiative with go live dates for functionality/team
![Page 22: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/22.jpg)
Frequency of Releases
● How often are you all deploying changes?
Weekly Bi-Weekly WheneverNeeded Release?
![Page 23: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/23.jpg)
Consistency
![Page 24: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/24.jpg)
Change Set Development
![Page 25: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/25.jpg)
Change Sets
● For deployments between a production org and its sandboxes● No separate development tools needed● Admin -oriented, short learning curve● Metadata only● Only include specified components
![Page 26: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/26.jpg)
Where Development is Done
● Salesforce UI● "Clicks not Code" (and Code?)● Developer Sandbox related to production org
![Page 27: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/27.jpg)
Tracking Changes
● Make a list!
○ Track changes through environments – who/what/where/when● Indicate which changes require manual migration
○ Setup Audit Trail
○ Metadata Coverage Report
![Page 28: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/28.jpg)
Test Changes Locally
● Test in Developer Sandbox before deployment● "Measure twice, cut once"
![Page 29: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/29.jpg)
Staging (DevPro SB) Deployment
● Create Outbound Change Set● Check Dependencies!● Create Deployment Connection● Upload Change Set● Deploy Change Set● Test for:
○ Completeness of change set / desired features present
○ Undesired overlap with other change sets in Staging (integration testing)
![Page 30: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/30.jpg)
QA (Partial/Full SB) Deployment
● Create Outbound Change Set (from Staging; for release cadence)● Check Dependencies!● Create Deployment Connection● Upload Change Set● Deploy Change Set● Test for:
○ Completeness of change set
○ Validity of changes with a copy of live data (User Acceptance Testing)
![Page 31: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/31.jpg)
Production Deployment
● Clone Outbound Change Set (Staging)● Check Dependencies!● Create Deployment Connection● Upload Change Set● Validate Change Set● Deploy Change Set● Production Testing for:
○ Validity of changes in production (production users & profiles, etc.)
![Page 32: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/32.jpg)
Change Set Demo Video
● Trailhead: Change Set Development Model scenario● Can't use Developer Edition or Trailhead Playground orgs!
![Page 33: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/33.jpg)
Change Sets In Real Life
![Page 34: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/34.jpg)
Vendor Solutions Exist!*
● ClickDeploy.io● Copado● Flosum● GearSet● Panaya● … and more● OwnBackup (metadata restore, sandbox data seeding with anonymizer)● What are your favorite tools to help with Change Sets?* Random sampling of ALM tools vendors in alphabetical order
![Page 35: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/35.jpg)
Org Based Development
![Page 36: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/36.jpg)
Org Based Model Defined
● Source control repository to store changes and project files
○ Greater flexibility and scalability
○ New ways to track and manage change
■ Version Control
![Page 37: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/37.jpg)
"Repository"
![Page 38: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/38.jpg)
Metadata as a file
![Page 39: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/39.jpg)
Tracking Changes
● See changes over time via Github
![Page 40: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/40.jpg)
SalesforceDX
● Source-driven development○ Version control code, metadata and org
configuration
● Rapid testing and development○ Scratch orgs for dev and test
● Open and standard developer experience○ Build with tools including Git, Selenium, Eclipse,
Sublime and more
![Page 41: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/41.jpg)
![Page 42: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/42.jpg)
Admin Use Cases
SegmentWork
Proof ofConcept
VersionControl Testing
![Page 43: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/43.jpg)
Where Development is Done – Scratch Org
● Fully configurable Salesforce instance
○ Emulate different editions, features, preferences
○ Create/delete at anytime● Personal Environments
![Page 44: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/44.jpg)
Typical Development Flow
Geico Commercial
Pull changes made in Salesforce to repository
Make Changes in the Scratch Org
Push metadata scratch org
![Page 45: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/45.jpg)
Tracking Changes
● See changes in real time
![Page 46: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/46.jpg)
Deployment
● Command to deploy build to org of your choosing
![Page 47: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/47.jpg)
![Page 48: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/48.jpg)
Why Go This Route?
Multiple Sandboxes with different use casesLimited Test Data in sandboxesSandboxes are not in syncSeparate sandbox for testing
![Page 49: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/49.jpg)
CumulusCI Extends SFDX
![Page 50: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/50.jpg)
Automation Flow
Create scratch org to build features
Import production data using simple commands
Make changes within Org
Pull/Pushchanges to QA org to confirm functionality
Scripts set configuration values
![Page 51: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/51.jpg)
Demo of CumulusCI in Action
![Page 52: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/52.jpg)
Package Based Development
![Page 53: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/53.jpg)
Get Involved
Vote up Ideas
● Prioritization
Attend User Groups
Post on the Hub
![Page 54: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/54.jpg)
Resources
● https://trailhead.salesforce.com/en/content/learn/trails/determine -which -application -lifecycle-management -model -is-right -for -you
● https://resources.docs.salesforce.com/224/latest/en -us/sfdc/pdf/deploy_sandboxes.pdf
● Considerations for Permission Sets and Profiles
![Page 55: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/55.jpg)
SFDX/CumulusCI Resources
Understanding of metadata● Salesforce metadata is a collection of files with underlying code● Limited needs to touch files unless you feel confident
Additional Tools to Learn/Use● Git and GitHub , Visual Studio and Continuous Integration● Postgresql for import/export of data● Trailhead Trail on SFDX● Cumulus CI Tutorial & Training at Higher Ed Summit
![Page 56: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/56.jpg)
Discussion Time
Where are you on your Salesforce journey?
What tools are you using for release management?
What is the next thing you plan to do to make your release management better?
![Page 57: 爀一椀挀欀 㐀ⴀ㔀㌀屲Group – 53/54 › resources › Documents › Release Mg… · Change Sets For deployments between a production org and its sandboxes No separate](https://reader033.vdocuments.us/reader033/viewer/2022053014/5f1328072ceb6b5c29799d84/html5/thumbnails/57.jpg)