Sub topic 12
Using the Migrate to Flow tool and reviewing its output
This chapter assumes you have already inventoried your automation and know how criteria and actions map to record-triggered flows. The Migrate to Flow tool automates part of that translation. It does not replace your review.
What the tool does
In Setup, search for Migrate to Flow in Quick Find. The page lists your Workflow Rules and Process Builder processes, with a status for each one. Select an item and the tool tries to build an equivalent record-triggered flow.
The tool can only convert what it understands. Items with unsupported criteria or actions show a status that says so. Treat those as manual work and handle them using the chapter on actions with no one-to-one equivalent.
The tool converts one rule or process at a time. Each conversion produces a separate flow. This is useful for a quick start, but it does not consolidate automation per object.
A safe workflow
- Work in a sandbox, not production.
- Migrate the simplest items first, such as a single field update.
- Open the generated flow in Flow Builder and read it before you activate it.
- Test it, then switch over: activate the new flow and deactivate the original in the same change.
Never leave both active. A Workflow Rule and its migrated flow would each fire on the same record, which causes duplicate emails, tasks, or updates.
What to review in the output
The tool produces working flows, but you should check each of these:
| Check | What to look for |
|---|---|
| Entry conditions | Criteria become entry conditions. Confirm the run frequency (only when a record is created or updated to meet the conditions, versus every time) matches the original. |
| Before-save or after-save | Field updates on the triggering record may be better as a before-save flow. The tool's choice is not always the most efficient one. |
| Formulas | Check picklist handling (`ISPICKVAL` becomes `TEXT()`) and any change-detection logic. |
| Scheduled paths | Time-dependent actions should appear as scheduled paths with the correct offset and base date field. |
| Names and descriptions | Generated labels are generic. Rename elements so another admin can understand them. |
| Order and overlap | Other flows and triggers on the same object may update the same fields. Note them for the consolidation step. |
Common errors
- Activating the flow without deactivating the original.
- Assuming a "migrated" status means identical behavior. Compare the results, not the status.
- Migrating every item separately and ending up with many flows on one object.
- Skipping a bulk test. A flow that works on one record can fail on 200.
Exercise
You migrated a Workflow Rule with the tool and activated the new flow. Users now receive two identical emails when a record is updated. What is the most likely cause, and what should you do?
Show answer
The original Workflow Rule is still active, so both the rule and the flow fire. Deactivate the Workflow Rule (do not delete it yet). Then confirm in a sandbox that only the flow sends the email.