Sub topic 3
Stages and the Stage picklist
This chapter explains how the Stage field works on an opportunity, how its values are stored and controlled, and the errors that most often appear when admins change it. It assumes you can navigate Salesforce apps, tabs, and record pages. It also assumes you know the difference between standard and custom fields, and that you know what a sales pipeline is.
What a stage is
A stage is a step in your sales process. Every opportunity sits in exactly one stage at a time. The stage tells everyone how far the deal has progressed, and it drives most pipeline reporting.
The stage is stored in the standard field StageName, which is labeled Stage in the user interface. It is a required field on every opportunity. The field is a picklist, which is a field where the user chooses from a fixed list of values.
A new opportunity starts in an early stage, such as Prospecting. As the deal advances, the rep moves it forward. The journey ends in one of two closed stages: Closed Won or Closed Lost.
Open and closed stages
Stages fall into two groups.
- Open stages mean the deal is still in play. Examples are Prospecting, Qualification, and Negotiation/Review.
- Closed stages mean the deal is finished. Closed Won means you got the business. Closed Lost means you did not.
Salesforce tracks this on the opportunity through two read-only fields.
| Field | Meaning |
|---|---|
| `IsClosed` | True when the stage is a closed stage (won or lost) |
| `IsWon` | True only when the stage is a closed-won stage |
You do not set these fields directly. They follow from the stage the opportunity is in. This is why reports and queries use IsClosed = false to find open pipeline, as in the next query.
SELECT StageName, COUNT(Id) deals, SUM(Amount) total
FROM Opportunity
WHERE IsClosed = false
GROUP BY StageNameThis returns one row per open stage, with the number of deals and the total amount. It is the basic shape of a pipeline-by-stage report.
Where the stage values come from
The list of stage values lives in the Stage picklist field. You manage it in Setup under Object Manager, then Opportunity, then Fields & Relationships, then Stage. Each value has properties that you set in one place or the other:
- A label, which is the text users see.
- An API value, which is the stored value that formulas, reports, and code compare against.
- A probability, a default percentage chance of winning. The next chapter covers this.
- A forecast category, which groups the stage for forecasting. The next chapter covers this too.
- A type, which marks the stage as open, closed won, or closed lost.
Salesforce ships with a default set of stages, including Prospecting, Qualification, Needs Analysis, Value Proposition, Id. Decision Makers, Perception Analysis, Proposal/Price Quote, Negotiation/Review, Closed Won, and Closed Lost. Most organizations trim and rename these to match their own process.
Master list versus sales process
The Stage field holds the master list of every stage value that exists. It does not decide which values a given user sees. A sales process does that. A sales process picks a subset of the master list and assigns it to a record type. The next chapters cover sales processes and record types in detail.
This split matters for editing. You add, rename, and reorder values in the field. You choose which values are available to a team in the sales process. A value that exists in the field but is not in any sales process cannot be chosen by users working under a record type.
Adding, renaming, and removing stages
Changing the picklist looks simple, but each change has side effects.
Adding a stage
- Open the Stage field in Object Manager.
- In the Opportunity Stage Picklist Values section, click New.
- Enter the stage name, then set its type, probability, and forecast category.
- Select the sales processes that should include the new stage.
If you skip step 4, the stage exists but nobody can pick it. This is the most common reason a new stage "does not show up".
Renaming a stage
You can edit a value's label. When you save, Salesforce offers to update existing records that use the old value. Choose carefully:
- If you replace the value on existing records, every opportunity in that stage moves to the new name. Reports that filter on the old text may need updating.
- Formulas, validation rules, flows, and Apex code that compare against the old API value will stop matching. Search your metadata for the old text before you rename.
Removing a stage
You cannot simply delete a stage that opportunities still use. Salesforce asks you to replace the value on existing records with another stage. Think about what that does to history. Opportunities that sat in the removed stage will now look as if they sat in the replacement stage.
If you want to retire a stage without rewriting data, remove it from the sales process instead of deleting it from the field. Existing opportunities keep the old value, and users can no longer choose it for new work.
Reordering stages
The order of the values in the picklist controls the order users see and the order of the Path chevrons. Salesforce does not enforce the order. A rep can jump from Prospecting straight to Negotiation/Review, or move backward, unless you add rules to stop it. Order is a presentation choice, not a guard.
Stages are not enforced by default
Many new admins expect Salesforce to block skipped stages. It does not. By default, any user who can edit the opportunity can set the stage to any value available in their sales process.
To require something at a stage, you use a validation rule. The following formula blocks saving an opportunity in the Negotiation/Review stage unless the Next Step field is filled in.
AND(
ISPICKVAL(StageName, "Negotiation/Review"),
ISBLANK(NextStep)
)When you create the rule, set the error message to something clear, such as "Enter a next step before moving to Negotiation/Review." Set the error location to the Next Step field so the message appears beside it. Notice that the formula uses ISPICKVAL. You cannot compare a picklist to text with =. A later chapter covers validation rules in more depth.
How stage changes are recorded
Every time an opportunity's stage, amount, close date, or forecast category changes, Salesforce writes a row to the OpportunityHistory object. This gives you an audit trail of how a deal progressed. The following query lists those changes for one opportunity in the order they were recorded. Replace the placeholder with a real record ID.
SELECT StageName, Amount, CloseDate, CreatedDate
FROM OpportunityHistory
WHERE OpportunityId = '006XXXXXXXXXXXXXXX'
ORDER BY CreatedDateHistory records the value stored at the time of the change. If you later rename a stage and choose not to update existing records, old history rows keep the old text. This can produce reports that show two names for what is really one stage.
Common errors and how to avoid them
| Symptom | Likely cause | Fix |
|---|---|---|
| New stage is missing from the picklist on the record | The stage was not added to the sales process used by the record type | Edit the sales process and add the stage |
| Validation rule stopped firing after a rename | The formula still compares against the old stage text | Update the formula to the new API value |
| Open pipeline total dropped suddenly | A stage's type was changed from open to closed | Restore the type, or confirm the change was intended |
| Report shows two names for one stage | Stage was renamed without updating existing records | Replace the old value on existing records, or filter on both |
| Cannot delete a stage | Records still use it | Replace the value on those records, or remove it from the sales process instead |
| Users skip stages | Order is not enforced | Add validation rules or use Path with required fields |
Summary of the working model
- Stage is a required picklist field named
StageName. - Each value has a label, probability, forecast category, and type.
- The type decides
IsClosedandIsWon, which drive open and closed reporting. - The field holds the master list. Sales processes choose which values each team sees.
- Order is for display only. Validation rules enforce requirements.
- Renaming or removing a value affects existing records, formulas, and history.
Exercise
An admin adds a new stage called "Legal Review" to the Stage picklist. The next day, reps say they cannot select it on their opportunities. What is the most likely cause, and where do you fix it?
Show answer
The new stage was not added to the sales process that the reps' record type uses. The Stage field holds the master list, but a sales process decides which values are available. Edit the sales process in Setup and add Legal Review to its selected values.
Exercise
Write the condition you would use in a validation rule formula to detect an opportunity in the "Proposal/Price Quote" stage. Why can't you write StageName = "Proposal/Price Quote"?
Show answer
Use ISPICKVAL(StageName, "Proposal/Price Quote"). In formulas, a picklist field cannot be compared to text with =, so you must use ISPICKVAL.
Exercise
Your team wants to stop using the "Perception Analysis" stage but keep existing deals unchanged. What is the safest approach?
Show answer
Remove the stage from the sales process rather than deleting it from the Stage field. Existing opportunities keep the value and history stays intact, while users can no longer choose the stage for new work.