Skip to main content

Migrate a Process

Migrate a Process to a Flow

Processes give you more options when using the Migrate to Flow tool. You see that next.

  1. Return to Setup, enter migrate in the Quick Find box, and then select Migrate to Flow.
  2. Select the Opportunity above 5000 Process.
  3. Click Migrate to Flow.

    The Select criteria to migrate window corresponding to the description that follows.Here you select the criteria options that you want to migrate. In Process Builder, they're the diamonds that let you define criteria. You can migrate all criteria to one flow or migrate criteria to separate flows.
  4. Select the Opportunity Lost above 5000 criterion.
    The action in the Opportunity Lost above 5000 criteria only sets a value on the opportunity NextStep field.

    In the Select criteria to migrate window, the Migrate to Flow button is enabled.
  5. Click Migrate to Flow.

    Next Steps window displays the new flow, a button to Test in Flow Builder, and reminders to activate the flow and deactivate the process, and a Done button.Notice that there is no Switch Activations button.
  6. Click Test in Flow Builder to open the flow in another tab.

    In Flow Builder, the Opportunity above 5000_1 flow has Start and End elements and one Update Records element for an opportunity.
  7. In the Start element, click Edit.
  8. Scroll to the Optimize the Flow for section.
    This flow only updates the NextStep field in the opportunity. Because we're only updating the triggering opportunity, this is a perfect use case for Fast Field Updates.
  9. Select Fast Field Updates.

    Under “Optimize the Flow for:”, Fast Field Updates is selected.
  10. Click Save As.
  11. Leave A New Version selected and click Save.

    In the Save as window, A New Version is selected. The Flow Label, Flow API Name, and Description fields and Cancel and Save buttons are shown.
  12. Click Activate.

Now that the flow is active, deactivate the process.

  1. Return to Setup, enter process builder in the Quick Find box, and then select Process Builder.
  2. Click to open the Opportunity above 5000 process.

    The My Processes page in Process Builder lists the Opportunity above 5000 process.
  3. Click Deactivate.
  4. Click Confirm.

Well done! You migrated two automations to flows. You also updated one of the flows to Fast Field Updates to make it run faster. Using the Migrate to Flow tool is a great way to get into Flow Builder and start working with flows. Just remember to work and debug in your sandbox or scratch orgs to keep your data safe. Happy migrating!

Keep learning for
free!
Sign up for an account to continue.
What’s in it for you?
  • Get personalized recommendations for your career goals
  • Practice your skills with hands-on challenges and quizzes
  • Track and share your progress with employers
  • Connect to mentorship and career opportunities