When you need to mass deactivate Salesforce Flows during a data migration, ensuring a smooth and successful data load is paramount. 🚀 However, active validation rules and automation can often stand in the way, causing your data loads to fail. ⚠️

While bypasses are excellent for keeping automation active for other users, there are times when you need a quick and comprehensive way to temporarily disable these components. 🔧

That’s where Config Switch from Toolkit for Salesforce becomes an invaluable tool. 💡 It allows you to quickly manage and temporarily deactivate Salesforce Flows, Validation Rules, and other automation—all from one centralized interface. 🎯

In this tutorial, we’ll walk through 5 easy steps to manage your Salesforce automation more efficiently, temporarily deactivate the components that could interfere with your data migration, and restore them when you’re finished. ✅

Let’s get started! 🚀

Table of Contents

⚙️ Salesforce Automation

Introduction to Config Switch

A Config Switch is a powerful feature within the Toolkit for Salesforce that helps simplify the management of Salesforce metadata and configuration. Instead of making changes across multiple automation components, you can use a centralized interface to view and modify important Salesforce configuration elements.

🎛️ Think of it as a control panel for Salesforce

Config Switch provides a centralized way to manage configuration elements such as validation rules, workflows, triggers, and Flows. This becomes particularly useful when you're working with large-scale data migration projects where several automation components may need to be temporarily disabled or controlled to help ensure a successful import.

🧰

Part of the Toolkit for Salesforce

Rather than managing every automation component individually, Config Switch gives Salesforce administrators a centralized interface for viewing and modifying supported metadata and configuration.

What can you manage?

01 Validation Rules Control validation behavior
02 Workflows Manage automation configuration
03 Triggers Control automation components
04 Flows Manage Flow behavior

🎮 Try the concept

Config Switch: ON
Automation is available and can run according to the Salesforce configuration.

01

Open Config Switch in Toolkit for Salesforce

Start by opening Config Switch and connecting it to your Salesforce environment.

Config Switch gives you a centralized way to manage Salesforce configuration and automation. For a migration, this can be especially useful when you need to review or temporarily control automation such as Flows, validation rules, workflows, and triggers.

① Open Cloud Toolkit
② Select Config Switch
③ Log in to Salesforce
④ Get Metadata

To begin, navigate to cloudtoolkit.co.

From the left-hand menu, select Config Switch.

You will then be prompted to log into your Salesforce environment.

👀
What should you look for?
After logging in, look for the option labeled Get Metadata. This is where Config Switch begins retrieving the configuration information from your Salesforce environment.
Tutorial Screenshot Config Switch in Toolkit for Salesforce
Config Switch in Toolkit for Salesforce showing the Config Switch menu

Select Config Switch from the left-hand menu to begin.

🧠 Quick Check: What's the next move?

You've opened Config Switch. Before moving forward, which option should you look for after connecting to your Salesforce environment?

✓ Correct! Get Metadata is the next option to look for. Config Switch uses this step to retrieve the Salesforce configuration you're working with.
Ready for Step 2? Next, we'll look at what happens after Config Switch retrieves your Salesforce metadata.
CONTINUE →
2

Get Your Salesforce Metadata

Bring your Salesforce configuration into one centralized view.

Clicking Get Metadata retrieves the Salesforce configuration components available in your environment and brings them into Config Switch.

📸 Config Switch Get Metadata
Get Your Salesforce Metadata in Config Switch

🎯 One Centralized View

Instead of opening individual Salesforce Setup pages, Config Switch brings relevant configuration components together in one interface.

🔎 Easier to Identify Automation

Having your metadata in one place makes it easier to identify the validation rules, workflows, triggers, and Flows that may affect your data migration.

💡

Migration Tip: Getting your metadata first gives you a clearer picture of the automation and configuration that may need to be reviewed before importing large amounts of data into Salesforce.

3

Turn Off the Salesforce Flow

Use Config Switch to temporarily deactivate the Flow before making your migration changes.

⚙️ Your Next Action

For this demonstration, we'll work with the Cancel Policy Flow, which is currently active in Salesforce. The goal is to turn it off through Config Switch rather than navigating through Salesforce Setup.

1

Open Process Flows

In Config Switch, navigate to the Process Flows tab.

2

Find Cancel Policy

Locate the Cancel Policy Flow in the list of available Process Flows.

3

Turn It Off & Deploy

Toggle the Flow to the off position, then click Deploy Changes.

🟢 Flow Active
⚪ Flow Off
📸 Config Switch Cancel Policy Flow
Turn Off the Salesforce Flow in Config Switch
🚀

Don't stop at the toggle. After switching the Flow off, remember to click Deploy Changes so the configuration change is applied.

4

Confirm the Flow Is Deactivated

Don't assume the change worked — verify it directly in Salesforce.

The deployment is done. Now verify the result. Return to your Salesforce environment and confirm that the Cancel Policy Flow is no longer active.

1
Return to Salesforce Go back to your Salesforce environment after deploying the Config Switch changes.
2
Refresh the Flows page Refresh the page so Salesforce displays the latest Flow configuration.
3
Find "Cancel Policy" Locate the Flow you modified in Config Switch.
4
Check its status The Flow should no longer be marked as active.
🎯
What you should see The "Cancel Policy" Flow is no longer active in Salesforce, confirming that the configuration change was successfully applied.
💡 Best practice: Always verify configuration changes after deployment. A successful deployment does not replace the need to confirm that Salesforce is showing the expected result.
5

Restore the Original Configuration

Finished testing? Now let's safely return Salesforce to its original configuration.

🔄 Why rollback matters

One of the most useful features of Config Switch is Rollback to Original. Instead of manually reversing the changes, you can use the rollback option to restore the configuration that was there before.

Final Configuration Step

Click "Rollback to Original"

In Config Switch, select Rollback to Original. This reverses the change made earlier and restores the Cancel Policy Flow to its original state.

Flow Deactivated
Rollback to Original
Original Configuration
🔎 Verify the rollback
  • Deploy the rollback changes from Config Switch.
  • Return to your Salesforce Flows page.
  • Refresh the page to load the latest configuration.
  • Find the Cancel Policy Flow and confirm that it is active again.
🎯
Configuration restored The "Cancel Policy" Flow should now be active again, confirming that the original Salesforce configuration has been successfully restored.
⚡ Beyond Flows

Mass Deactivate Salesforce Validation Rules

The same Config Switch workflow you used for Salesforce Flows can also be applied to Salesforce Validation Rules and other automation components. Instead of managing each configuration individually, you can work with multiple components from one centralized interface.

🎯

The migration challenge

Large Salesforce data migrations can involve dozens or even hundreds of validation rules and automation components that may interfere with the data import.

⚙️

The Config Switch approach

Config Switch gives you a centralized place to locate and manage these configuration components instead of navigating through multiple Salesforce Setup screens.

🧩 What can you manage?
Validation Rules
Flows
Workflows
Triggers
💡 Why this matters during a migration

When a large data import is being performed, multiple automation components can create unexpected interruptions. Being able to manage those components from one place can make the migration process easier to control and organize.

🚀
Think beyond a single Flow. The real advantage of Config Switch is having a centralized way to manage multiple Salesforce configuration components when preparing for a complex data migration.
⚡ Know When to Use It

When Should You Use Config Switch?

Config Switch becomes especially useful when you're working with Salesforce environments where multiple automation components need to be temporarily changed, tested, or managed. Here are the situations where it can save you the most time.

📦

Large Salesforce Data Migrations

Importing a significant volume of records? Temporarily managing automation can help prevent unexpected interruptions during the data load.

⬆️

Large Data Imports

When you're bringing substantial amounts of data into Salesforce, automation may affect the way records are processed. Config Switch gives you a centralized way to manage those components.

🔧

Temporary Automation Changes

Need to temporarily turn specific automation off for maintenance, troubleshooting, or testing? Config Switch can make those configuration changes easier to manage.

🧩

Bulk Rule Management

Working with multiple Validation Rules, Flows, or other components? Managing them from one interface can be much more efficient than changing each one individually.

Save Time on Repetitive Changes

Instead of repeatedly navigating through Salesforce Setup, Config Switch provides a centralized workflow for managing configuration changes.

🧪

Testing & Troubleshooting

When you're trying to isolate the impact of automation, temporarily changing configuration can help you identify what is affecting your Salesforce process.

🎯 One Important Question Before You Switch It Off
Need automation completely off? Config Switch can be useful when the goal is to temporarily deactivate the component during a controlled operation.
Need automation active for other users? A permission-based bypass may be a better approach when the automation should continue running for everyone except the designated user.
💡
The key is choosing the right approach.

Config Switch is excellent for temporary, centralized configuration changes. But if only one migration user needs an exception while automation remains active for everyone else, a bypass strategy may be more appropriate.

⚙️ Config Switch

Before You Deploy: Best Practices

Config Switch makes temporary Salesforce configuration changes much easier to manage. But before you deactivate automation or deploy a change, run through this quick checklist.

Deployment Readiness 0 / 6 completed

💡 Click each item as you complete it. Your deployment readiness will update automatically.

Know Your Changes

Be certain about which Flows, Validation Rules, or other automation components you're changing. Know what each component controls before turning it off.

Test Before the Big Load

Run a smaller test data load first. This gives you a chance to catch unexpected behavior before affecting a large number of records.

Verify the Deployment

After clicking Deploy Changes, return to Salesforce and confirm that the intended configuration was actually applied.

Document What Changed

Record which automation was temporarily changed, why it was changed, and when it should be restored.

Have a Rollback Plan

Make sure you know how to return Salesforce to its original configuration once the migration or maintenance task is complete.

Restore Your Automation

Once the task is finished, re-enable the Flows, Validation Rules, and other automation that was temporarily deactivated.

✓ Deployment checklist complete! You've reviewed the key considerations for making temporary Salesforce configuration changes. You're ready to move forward with a more controlled deployment.
💡 The golden rule

Temporary configuration changes should always have three things: a clear reason, a way to verify the change, and a plan to restore the original configuration.

✓ Tutorial Complete

Conclusion: Take Control of Salesforce Automation

Config Switch gives Salesforce administrators and consultants a much simpler way to manage automation when a temporary configuration change is needed. Instead of opening Salesforce Setup and manually changing each component, you can manage multiple Flows, validation rules, and other metadata from one centralized interface.

Work Faster Manage multiple configuration components without changing them one at a time.
🔄 Roll Back Changes Restore your original configuration when the migration or maintenance task is finished.
🎯 Stay in Control Make temporary automation changes while keeping your Salesforce environment manageable.
Identify Deactivate Migrate / Maintain Verify Roll Back
💡 The big takeaway: Config Switch isn't about permanently turning Salesforce automation off. It's about giving you a controlled way to temporarily change your configuration when the situation calls for it — and then restore your original setup when you're done.
🎮 Knowledge Check

Config Switch Challenge

You’re the Salesforce admin. A migration is about to begin. Can you choose the right configuration move?

Question 1 of 5 Score: 0
Your Scenario

💬 Quick Answers

Frequently Asked Questions About Config Switch

Finished the tutorial? Here are the answers to some of the most common questions about using Config Switch to manage Salesforce Flows, validation rules, and other configuration changes.

Config Switch is a feature within Toolkit for Salesforce that provides a centralized way to view and manage Salesforce configuration components.

Instead of manually navigating through Salesforce Setup to change individual components, you can use Config Switch to manage items such as Flows, validation rules, workflows, and triggers.
During a large Salesforce data migration, existing automation can sometimes interfere with the data load.

Config Switch can make it easier to temporarily deactivate applicable automation before importing data and restore the original configuration after the migration.
💡 Think of it as configuration management: make the temporary change, complete the task, verify the result, and restore the original setup.
Yes. In the tutorial example, Config Switch is used to locate the Cancel Policy Flow, turn it off, and deploy the configuration change.

After deployment, you should return to Salesforce and verify that the Flow is no longer active.
Yes. One of the useful applications of Config Switch is managing multiple configuration components from a centralized interface.

This can be particularly helpful when a migration requires several validation rules or automation components to be temporarily changed.
Get Metadata retrieves the relevant Salesforce configuration information and brings it into Config Switch.

This gives you a centralized view of the automation and rules available in your Salesforce environment so you can identify the components you need to manage.
Yes. Always verify that the configuration change was actually applied in Salesforce.

For example, after deactivating a Flow in Config Switch, return to Salesforce, refresh the Flows page, and confirm that the Flow is no longer active.
Yes. The tutorial demonstrates the Rollback to Original feature.

This allows you to restore the original configuration after the temporary change is no longer needed.
🔄 Best practice: Always confirm that your original automation has been restored before considering the migration or maintenance task complete.
It depends on what you're trying to accomplish.

If automation needs to remain active for most users while only a specific migration user bypasses it, a permission-based bypass may be more appropriate.

If you need to temporarily deactivate configuration for a broader migration or maintenance task, Config Switch can provide a more centralized approach.
Review the temporary configuration changes and restore any Flows, validation rules, or other automation that was deactivated for the migration.

Then verify the restored configuration directly in Salesforce and perform appropriate testing.
Don't treat temporary configuration changes as permanent changes.

Know exactly what you're changing, verify the deployment, document the change, test your migration, and restore the original configuration when you're finished.
🎯 Simple rule: Change intentionally → Verify → Complete the task → Restore → Test again.
🎓 Keep Learning

Ready to Go Beyond This Salesforce Tutorial?

Configuring Salesforce is only one part of becoming a confident Salesforce administrator or migration specialist. Keep building your skills with practical tutorials and training designed around real Salesforce data migration challenges.

⚙️ Salesforce Administration 🔄 Data Migration 📦 Data Loader 🚀 Practical Tutorials
Explore Salesforce Masterclass

Build practical Salesforce skills you can apply to real-world administration and data migration projects.

Discover more from SMC Migrations

Subscribe now to keep reading and get access to the full archive.

Continue reading