Skip to main content
Build the future with Agentforce at TDX in San Francisco or on Salesforce+ on March 5–6. Register now.
Time Estimate
Topics
Ask the Community

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.

    [Alt text: 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 New Version.
  11. 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!

Share your Trailhead feedback over on Salesforce Help.

We'd love to hear about your experience with Trailhead - you can now access the new feedback form anytime from the Salesforce Help site.

Learn More Continue to Share Feedback