OBLYTECH Logo
OBLYTECH Logo

Flow Test Plan for Admin Releases

A flow test plan for admin releases is a written list of the records, user profiles and scenarios an administrator runs a flow against before release. It covers entry paths that start the flow, failure paths where inputs are missing or wrong, and the bulk path where many records run together.

What the plan has to prove

Before opening the flow, decide what the plan must show. For a typical admin release that means four statements: the flow starts when it should, it leaves records alone when it should not, it fails in a visible and recoverable way when data is wrong, and it still behaves correctly when the batch is large. Write those statements at the top of the plan. Each test below should trace back to one of them, so a reviewer can see why the test exists.

The plan also needs a scope line. If the release changes one flow that reads opportunities and writes tasks, say so in the first lines of the document. A plan that tries to cover the whole org tends to test nothing in depth. Name the objects, fields and related automations the change touches, and list any neighboring automation you checked but did not change.

Building the test record set

Test records should look like production records, because production records carry the quirks that break flows. Pull a sample of recent records that match the flow’s entry criteria, then remove personal data before anything is copied into a test environment. Keep the set small enough that a reviewer can read each record. For a single flow, a set of roughly a dozen to twenty records usually covers the main branches without making review slow.

Records that match real data

Choose records that fill the fields the flow reads and leave some of them empty in the ordinary way. A record with no related account, a blank picklist value or a date in the past tests more than a fully completed record does.

Records at the edges of each rule

Add records on both sides of each threshold the flow checks. If the flow acts on amounts above a set value, include one record just under the value and one just over it. Do the same for dates, stage values and status changes. Boundary records are where small logic errors show up first. If the flow feeds a pipeline hygiene check for sales operations managers, use the same boundary records to test that check’s rules as well.

Choosing user profiles for each test

Before testing, confirm which run context the flow uses, because that decides whether the triggering user’s profile, permission sets and sharing apply to what the flow reads and writes. Then test with at least three profiles: an administrator, a standard user who has the access the flow is meant for, and a user who should be blocked or who lacks access to a field the flow writes. Record the exact profile and permission set names in the plan, with the date you checked them, because names get reused and access changes over time.

Include a user from the team the flow serves. A support lead who works a queue sees different records from an agent, and a flow tested with an administrator account alone can pass while failing for the people who depend on it. If the flow affects support queues, check the case aging reports team leads use to see whether changed cases reach the right people.

Entry paths: the ways a flow can start

List each way the flow can start. Common entry paths are a record being created, a field changing to a specific value, a user editing a record, a scheduled run firing, and another process calling the flow. Give each entry path at least one test. A flow that starts when a record is updated may also start when it is created, and the plan should state whether that is intended, then test it.

For each entry path, write the expected result in one sentence before running the test. “The task is created and assigned to the owner of the case” can be checked. “The flow works” cannot. Record the actual result beside the expected one, and mark any difference with the record ID and the time of the run.

Some entry paths overlap with routing. If new cases reach agents through routing rules, check those entry paths against the routing setup as well as the flow. Teams that route cases through Omni-Channel routing settings for support teams should review those settings alongside the flow, because two rules that respond to the same record can produce a result neither would produce alone.

Failure paths: what should happen when inputs are wrong

Failure paths are where many release defects hide, because they are run least often in normal use. For each input the flow reads, test a record where that input is missing. Then test a value that is present but outside the expected format or list. Write down what the flow should do in each case: stop and show a message, skip the record, send it to a review queue, or write a log entry. The expected behavior is part of the test.

Check the failure result from both sides. The user should see a clear message or visible state, and the data should not be left half-changed. If the flow updates a parent record and then fails on a related child record, inspect both. A run that changed some data and then reported a generic error is harder to recover from than a run that stopped cleanly before writing anything.

Plan the recovery as well. Write down who corrects a record that a failed run left in a partial state, how that person will find it, and the report or query they will use. That step belongs in the test plan because it is part of the release.

Bulk path: many records at once

A flow that works for one record can fail when a data load or mass update sends hundreds of records through it in one go. The bulk test uses a batch large enough to show whether the flow handles a group correctly. The batch should mix the entry paths and failure cases already defined, rather than containing clean records alone, because clean batches hide the problems that matter.

Start with a small batch, then increase the size in steps. After each run, count the records that changed, failed and were skipped, and confirm the three numbers add up to the batch size. Look for duplicate related records created by repeated runs. Run the same batch a second time to see whether records change again when the flow is meant to be safe to repeat.

Record the batch size, the run time and the count for each outcome, so the next release can be compared with this one. Reports that summarize large sets of opportunities often show bulk problems after go-live. If the flow feeds totals into an executive sponsor pipeline forecast review, open that review once the batch finishes and confirm the totals match what the flow was expected to produce.

Running the tests and recording the results

Run the full set in a non-production environment that holds a recent copy of the data. Then repeat the highest-risk tests in the environment that will receive the release. The plan should name both environments and the date each copy was made, because a stale copy can pass tests that production would fail.

Give each test a row with an ID, the entry path or failure case it covers, the profile used, the record IDs, the expected result, the actual result and the name of the person who checked it. Make the release decision from those rows, not from a verbal summary. A release can go ahead with a known open defect if the plan records the defect, the users it affects and the rollback step. Do not mark a test as passed merely because the flow ran without an error. Open the records and confirm the field values and related records changed as the expected result states.

Keep the plan and the test records with the change record. After go-live, review the account health views customer success managers use for the accounts the flow touches. If the flow writes account data, a fault often shows there first as stale scores or missing activity. For help planning this work, see Salesforce implementation.

Questions about sign-off and scope for admin flow tests

Who should sign off the test results before a release?

The administrator who built the change should not be the sole reviewer. A second administrator, or the business owner of the process the flow supports, should read the result rows and confirm the expected results match what the business needs. They need to check that expected results were written before the run and that actual results were recorded honestly.

Should the plan be rewritten for each release?

Update the rows that cover changed logic and keep the rest as a regression set. Earlier tests still matter, because a change to one branch can break a neighboring branch that nobody touched on purpose.

What if a test passes in the test environment but fails after release?

Treat it as a gap in the plan. Compare the failing record with the nearest test record and note the difference in data, profile, sharing or related records. Then add a row that reproduces that difference, so the next release catches it.

Do failure tests need to run in production?

Failure tests belong in the test environment, where a missing input or a bad value can be created safely and removed afterwards. After release, use read-only checks in production to confirm the flow is running and that the expected records are being created or updated. Those checks cannot prove the failure handling works, so the test environment result remains the evidence for that part of the plan.