Sub topic 14
Monitoring and Triage After the Upgrade
This chapter assumes you have finished regression testing in a preview environment and have a release-readiness checklist. It covers what to do once production is upgraded: confirm the upgrade, watch for regressions, and sort problems quickly. You should be comfortable with Setup, Apex test runs, and Flow.
Why the work continues after the upgrade
Preview testing reduces risk but does not remove it. Production holds real data volumes, real integrations, and user behavior that no sandbox fully copies. Plan a short, defined monitoring window, for example the first two business days after your production upgrade.
The window connects back to earlier chapters. Trust status and maintenance windows tell you when the upgrade happens. Your readiness checklist tells you what to watch.
Step 1: Confirm the upgrade and run a smoke test
First confirm the org is on the new release. The release version appears in the Salesforce Trust site for your instance, and in the API versions list at the /services/data/ endpoint of your My Domain URL.
Then run a smoke test. This is a short manual or automated pass over your most important journeys, taken from the regression plan. Typical items:
- Log in as a user from each main profile.
- Create and update a key record, such as a Lead or Case.
- Fire a critical Flow and check its outcome.
- Run an integration call and confirm the response.
- Open one important dashboard.
You can also re-run the baseline Apex tests in production. Use a validation-only approach for deployments, and run local tests if your process allows it:
sf apex run test \
--target-org my-production \
--test-level RunLocalTests \
--result-format human \
--wait 20Compare the results with the baseline you captured in the preview sandbox. New failures are strong evidence of a release effect.
Step 2: Watch the right signals
Use the sources that show failures without waiting for a user to complain.
| Signal | Where to look | What it catches |
|---|---|---|
| Apex exceptions | Apex Exception Email, Debug Logs, Event Monitoring | Code that behaves differently |
| Flow faults | Flow fault emails, Paused and Failed Flow Interviews in Setup | Automation errors |
| Background jobs | Apex Jobs, Scheduled Jobs, Bulk Data Load Jobs | Failed batches and schedules |
| Integrations | Middleware logs, API usage reports | Changed responses or authentication failures |
| User reports | Support queue, a dedicated Chatter or Slack channel | UI and permission problems |
Ask users to tag reports with the release name. A single tag makes it easy to count how many issues are release related.
Step 3: Triage
Triage means sorting problems by impact and cause, so the right person acts first. Ask these questions in order:
- Scope. How many users or records are affected? Is a revenue or compliance process blocked?
- Reproducibility. Does it happen in a sandbox on the same release? If so, you can debug safely.
- Cause. Did a Release Update enforcement, an API behavior change, or a new feature trigger it? Check the release notes and Known Issues.
- Workaround. Can you disable a change, adjust a permission, or edit a Flow while you wait for a fix?
Assign a severity, such as high for blocked critical processes, medium for degraded features with a workaround, and low for cosmetic issues.
Step 4: Escalate and record
If you believe the release is the cause and you cannot work around it, search the Known Issues site. Add yourself to an existing issue if one matches. Otherwise open a Salesforce Support case with the release version, the instance, steps to reproduce, and timestamps. Record each issue, its cause, and its resolution. These notes feed your checklist for the next release.
Exercise
Two hours after the production upgrade, a scheduled batch job fails and several users report that a Flow shows a fault. Name the first two checks you would do before opening a Salesforce Support case.
Show answer
First, compare the failure time against your deployment log to see whether your own team's changes caused it. Second, try to reproduce the failure in a sandbox on the same release and check the release notes, Release Updates, and Known Issues for a matching change. Only if the release is the likely cause and no workaround exists should you open a Support case with the version, instance, reproduction steps, and timestamps.