Deferred work in Salesforce can run through the asynchronous path of a record-triggered flow, through a queueable Apex job, or through a scheduled run. Each option fits a different trigger and needs a different owner. Assign each one to the admin or developer who will support it after launch, not to whoever builds it first.
Why deferred work needs an owner decision
Work that does not have to finish before the user saves a record is a candidate for deferral. Sending a notification, recalculating a summary value, syncing a record to another system or cleaning up related records can all wait without harming the person who made the change. The open question for the pair is which mechanism to use and who carries it when it fails late in the day.
Each deferred mechanism adds a step to the story of a transaction. A change made by a user may be finished later by a process the user did not start directly. Skipping this planning tends to show up as stale reports or duplicate notifications.
The three deferred options side by side
The options differ on four points: what starts them, how much code they need, how visible their runs are to admins, and how they handle failure. Read the descriptions below as trade-offs rather than a ranking. The right choice for one requirement is often the wrong choice for the next.
Async Path in a record-triggered flow
An asynchronous path attaches to an after-save record-triggered flow. The main path completes the save, and the asynchronous path runs afterward for the same record. It suits field updates, related record creation and notifications that follow directly from a change on one record. Admins can build and adjust it in the flow builder, though it still needs testing in a sandbox before release.
Teams often start with this option because the logic stays close to the record. If the same change must also reach a partner system, the wider design belongs in Salesforce integration architecture, which covers where each call should happen.
Queueable Apex jobs
A queueable job is Apex that a running transaction places on the asynchronous queue. It can pass state from one job to the next, which makes it a fit for callouts and for multi-step work where one step depends on the result of the previous one. Developers own its logic, error handling and tests. Admins usually see its outcome through the fields it updates or through a status record the developer writes, so the handoff document has to explain where to look.
Scheduled runs
A scheduled run starts work at a set time, such as a nightly cleanup or a weekly reminder. It fits work that depends on the state of many records at once rather than on one change. Scheduled flows and scheduled Apex both exist. Admins take the declarative version when the logic is simple, and developers take the code version when the logic loops over large sets or calls outside services.
Service teams can use scheduled runs for queue housekeeping and follow-up reminders. Before adding one, read Salesforce service workflow design so the schedule matches the case handling rules instead of running against them.
Assigning each option to an admin or a developer
A workable split gives admins the declarative options the team changes often, such as the conditions that decide when a notification goes out. It gives developers the queueable and batch logic, the error handling and the tests that protect the org when that logic changes. Avoid giving either role a mechanism alone when the other will have to debug it later.
Write the assignment down for each deferred process. The record should name the owner of the trigger, the owner of the logic, the person who receives failure alerts and the person who can disable the process in an emergency. Without those four names, a failure turns into a search through the setup of two different tools. For help planning this work, see Salesforce implementation.
Admin responsibilities
- Own the entry conditions of record-triggered flows and scheduled flows.
- Maintain the list of fields each deferred process reads and writes.
- Check the run history after each release that touches a trigger object.
- Test each path with a user profile that matches the people who will trigger it.
Developer responsibilities
- Own the queueable and batch classes, including any chaining logic between them.
- Handle exceptions and record failures in a form an admin can read without opening the code.
- Write tests that feed in bulk input, not a single record.
- Document each callout endpoint and the credential it depends on, with the secret stored outside the code.
Choosing the right option for a requirement
Start from the trigger. A change to one record that should be followed by work on related records points toward an asynchronous path. A job that must call an external service and then update records in sequence points toward a queueable job. A job that reviews many records on a timetable points toward a scheduled run. When a requirement fits two options, choose the one the team can support with fewer handoffs.
Then check timing. Work the user must see before the next screen loads should not be deferred. Deferred work may finish after the page has reloaded, so any figure shown to the user should come from the synchronous path or be labeled as delayed.
Finally, check volume. A process that runs once per record change behaves differently from one that runs for each row in a data load. Tests with realistic batch sizes reveal ordering problems that single-record tests miss, such as two processes updating the same parent record in the same window. Data loads and clean-up runs are covered in Salesforce data quality and migration.
Checks to run before a deferred process goes live
Run these checks in a sandbox that matches production settings as closely as the team can manage. Record the results in the handoff document so the pair can repeat them after the next release.
- Create one record and confirm the deferred result appears, noting how long it took to arrive.
- Change the same record twice in quick succession and confirm the result is not duplicated.
- Load a batch of records and confirm every record in the batch either completes or leaves an error an admin can find.
- Force one failure, such as a missing required value, and confirm an admin can see the error and the affected record.
- Confirm the process gives the result the business expects for users with different profiles, because an automated run may not see records the way the person who saved them does.
- Disable the process in the sandbox and confirm the rest of the save still works without it.
Common mistakes when splitting work across the pair
A frequent mistake is building two processes that react to the same change without knowing about each other. Each one passes its own test, then the combined result is a second update that fires a third process. Keep one list of deferred processes per object, and review it before adding another.
The second mistake is hiding failures. A queueable class that catches an exception and logs nothing leaves the admin with stale data and no trail to follow. Let the failure surface as a visible record, a notification or a run status that an admin checks on a fixed schedule.
The third mistake is treating a scheduled run as a replacement for handling each change. A nightly job can correct a field, but users who see the wrong value during the day still need the process to act on the change itself. Use the schedule to reconcile records, not as the sole update path.
The fourth mistake is leaving ownership with the builder. When that person changes roles, the process keeps running with no one assigned. Name a backup owner at the same time as the primary one.
Keeping the matrix current after each release
Review the matrix whenever a release adds a trigger, changes an entry condition or alters a queueable chain. Compare the current list of deferred processes against the owner record and remove any entry for a process that no longer exists. Ongoing review of this kind is part of Salesforce support and maintenance, and it catches an orphaned job before it causes an incident.
When the pair disagrees about which option to use, decide with a test rather than an argument. Build the smallest version in both forms on a sandbox copy, run the same batch through each, and compare the run history, the timing and the support work each one created. The version the team can explain to a new hire in five minutes is usually the one to keep.
Questions about choosing and supporting deferred work
Can an admin build an asynchronous path without a developer?
Yes, for the declarative build. A developer review is still useful when the path depends on custom code, large data volumes or an outside call, because those are the places where a simple flow can behave differently than the team expects.
Does deferred work replace validation rules?
No. Validation has to pass before the save completes, while deferred work runs after the record has been written. A check that must block bad data belongs in validation, and a follow-up action that can wait belongs in a deferred process.
How should a team find out that a deferred job failed?
Build the alert before the process goes live. Decide which record, queue or notification will show the failure, who receives it and how quickly they must respond. A failure nobody sees is the same as a job that did not run.
What belongs in the handoff document for a deferred process?
Include the trigger, the entry conditions, the fields read and written, the owners and backup owners, the failure channel, the test records used and the date of the last test. A future admin or developer should be able to judge whether to change the process without reading the code first.