Sub topic 3
Entry criteria and who can submit
This chapter assumes you can navigate Setup, know how objects, fields, and records relate, and have written validation rule formulas. It builds on the previous chapter, which listed the building blocks of an approval process. Here you look at the two settings that decide whether a record can enter a process at all: entry criteria and allowed submitters.
What entry criteria do
Entry criteria are a test Salesforce runs when someone submits a record. If the record passes, it enters the process. If it fails, Salesforce checks the next process in the order. If no process accepts it, the submission fails.
You define entry criteria in one of two ways:
- Filter criteria: pick fields, operators, and values, such as
Amount greater than 10000. - Formula: write an expression that returns true or false.
Use a formula when you need AND/OR logic, cross-object fields, or functions such as ISPICKVAL.
AND(
Amount > 10000,
ISPICKVAL(StageName, "Negotiation/Review"),
Account.Type = "Customer"
)You can also leave the criteria empty, which lets every record of the object enter.
When criteria are checked
Salesforce evaluates entry criteria only at submission. If a field changes while the approval is pending, the record stays in the process. Plan for that. If a later edit would make the record ineligible, add a validation rule or lock the record, which a later chapter covers.
Who can submit
Entry criteria test the record. Allowed submitters test the person. For each process, you choose who may submit from these options:
| Submitter type | Meaning |
|---|---|
| Creator | The user who created the record |
| Owner | The current record owner |
| Role | Users in a specific role |
| Role and Internal Subordinates | That role plus every role below it |
| Public Group | Members of a group |
| Queue | Members of a queue |
| User | One named user |
| Partner User | An external partner user |
Admins can always submit on behalf of others, but a regular user must match one of the listed types. A user who passes the entry criteria but is not an allowed submitter still gets the "no applicable process" error.
Multiple processes on one object
An object can have several active processes. Salesforce works through them in the order you set on the Approval Processes page, using the Manage Approval Processes list. The first process where both the record and the submitter qualify wins. A record can be in only one approval process at a time.
flowchart TDBecause the diagram fence needs the required format, here is the same flow in the correct form.
Common errors
- "No applicable approval process was found." Either the record fails every process's entry criteria or the user is not an allowed submitter. Test the formula against the actual field values, and check the submitter list.
- Process inactive. Only active processes are considered. You cannot edit the entry criteria of an active process, so deactivate it first (or clone it as a new version).
- Missing button. In the UI, users need the Submit for Approval button or the Approval History related list on the page layout.
- Wrong process chosen. Two overlapping processes will resolve by order. Reorder them, or tighten the criteria so they do not overlap.
Exercise
A sales rep creates an Opportunity with Amount 15,000 that meets the entry criteria of an active process. The rep clicks Submit for Approval and gets "No applicable approval process was found." The process lists only the Sales Managers role as allowed submitters. What is the cause, and what two fixes are available?
Show answer
The record passes the entry criteria, but the rep is not an allowed submitter, so the process does not apply. Fix it by adding the rep's role (or a public group containing the rep) as an allowed submitter, or by having a user in the Sales Managers role (or an admin) submit the record.