Data migration · Automation

A big load and a long list of Flows and validation rules in the way. Config Switch in Toolkit for Salesforce turns them off in bulk, deploys the change, and puts everything back with one rollback button.

4 stepsGet metadata, switch off, verify, roll back
1 screenfor validation rules, workflows, triggers and Flows
1 click rollbackRollback to Original restores the starting state
2‑minute videoThe whole thing, start to finish
On this page
  1. The problem
  2. Switch off, or bypass?
  3. 1 · Get the metadata
  4. 2 · Turn off and deploy
  5. 3 · Check in Salesforce
  6. 4 · Roll back
  7. Gotchas and FAQ
Watch on YouTube ↗
The problem

Fifty validation rules and a deadline.

Sometimes a bypass is the wrong tool. When a big load needs automation switched off, clicking through Setup one rule at a time is how afternoons disappear.

A permission-based bypass keeps automation running for everyone except the migration user. That’s usually what you want. But sometimes you just need the Flows and validation rules off for the load window, and back on afterwards, exactly as they were.

That’s what Config Switch in Toolkit for Salesforce is for. It pulls your validation rules, workflows, triggers and Flows into one screen, lets you toggle them off in bulk, deploys the change, and rolls it all back with one button.

Prefer to read? Everything in the video is written out below.

Before you start

Switch off, or bypass?

Pick the approach before you touch anything. They solve different problems.

You need…Use
Automation off for everyone during a controlled load windowConfig Switch (this post)
Automation on for users, skipped only for the migration userA permission bypass for Flows or validation rules
Step 1

Open Config Switch and get the metadata.

Config Switch reads your org’s automation into one list, so you can see everything that could get in the way of the load.

  1. Go to cloudtoolkit.co and select Config Switch from the left-hand menu.
  2. Log in to the Salesforce org you’re loading into.
  3. Click Get Metadata.
Toolkit for Salesforce with Config Switch selected in the left-hand menu
Config Switch lives in the left-hand menu.
Config Switch after Get Metadata, listing validation rules, workflows, triggers and Flows from the Salesforce org
One list instead of a dozen Setup pages.
Step 2

Turn the Flow off and deploy.

Toggling isn’t enough on its own. The change only reaches Salesforce when you deploy it.

  1. Open the Process Flows tab.
  2. Find the Flow. The example uses Cancel Policy.
  3. Toggle it off, then click Deploy Changes.
Config Switch Process Flows tab with the Cancel Policy Flow toggled off before Deploy Changes
Toggle, then Deploy Changes. Skip the second click and nothing happens.

Validation rules, workflows and triggers work the same way, on their own tabs. Switch off as many as the load needs and deploy them together.

Step 3

Check it in Salesforce.

A successful deploy isn’t proof. Look at the org.

Go back to Salesforce, refresh the Flows list, and confirm Cancel Policy no longer shows as active. Do the same spot check for a validation rule or two. Then run a small test load before the big one.

Step 4

Roll back when the load is done.

Rollback to Original puts everything back exactly as it was before you started.

  1. In Config Switch, click Rollback to Original and deploy.
  2. Refresh the Flows page in Salesforce.
  3. Confirm Cancel Policy, and everything else you switched off, is active again.

Write down what you changed anyway: which components, why, and when they need to come back. If the rollback ever fails halfway, that list is your way back.

Gotchas

The questions people ask.

What can Config Switch turn off?
Validation rules, workflows, triggers and Flows, all from one interface.
I toggled the Flow off but it still ran
You probably didn’t click Deploy Changes. The toggle only stages the change.
Is this better than a Flow bypass?
Different job. Config Switch turns automation off for everyone during the window. A bypass keeps it on for users and skips only the migration user. If people are working in the org during the load, use a bypass.
What do I do after the migration?
Rollback to Original, deploy, then check in Salesforce that every component is active again and test one record end to end.
Data Migration Masterclass

Automation is one line on the cutover plan.

The Masterclass covers the full migration in load order, including what to switch off, when, and how to prove it all came back on.

Know someone about to click through fifty validation rules by hand?

Share on LinkedIn
Doing this for a whole org, not just one object?

One CSV is a tutorial. Forty objects, 15 years of history and a go-live date is a project. That’s the part I do for a living.

See how I run migrations →