With the Summer ‘22 release fast approaching, Salesforce have now dropped the release notes, including the full low-down of what’s new in Flow.
With Process Builder and Workflow Rules going through a phased retirement, we should all know by now that Salesforce Flow is the future of Salesforce automation. This release contains lots of goodies (I’ve highlighted my top 10), so without further ado, let’s go with the flow…
1. Formula Entry Conditions for Record-Triggered Flow
Similar to Process Builder, Salesforce is introducing the ability to trigger a flow based on a formula. If a formula evaluates to true, the flow will run – otherwise it won’t be triggered.
With this release, you can now migrate Workflow Rules that were triggered by a formula to Flow, using the migration tool. You may find the following resources helpful:
- Use Formulas as Flow Entry Conditions
- Convert Workflow Rules to Flows with the Migrate to Flow Tool (Generally Available)
2. Custom Icons for Apex-Defined Invocable Actions
If you call Apex code in a flow, you can now add your own icon to these. This will be helpful on the canvas to see which code is calling which system.
3. New Features for Screen Flows
There are lots of goodies ahead for Screen Flows. First up, we have section headers to give collapsible sections – you guessed it – a header (similar to page layouts).
Screen Flow Supported Fields
In this release, the fields supported by Screen Flows using fields (Beta) have expanded to support Name fields and Address fields.
There have also been improvements with screen readers within the Flow Builder to enhance the experience of those with accessibility needs.
Historically, you could set a flow to run with two columns – this will be ignored from Winter ‘23, with the suggestion to move to the section component instead.
This component acts as a replacement for columns, with up to four columns supported.
Dependant Picklist Component
The dependent picklist component has been rebuilt as a Lightning Web Component (LWC), with minimal styling changes. This makes it easier for the system to support, and uses the latest technology with Salesforce migrating more to LWC – the next generation of Lightning Components.
Check out the resources below:
- Add Section Headers to Flow Screens
- Place Name and Address Record Fields Directly on Flow Screens (Beta)
- Screen Editor Accessibility Improvements in Flow Builder
- Two-Column Flow Layouts Are Superseded by Multicolumn Screens
- Dependent Picklists Component Is Rebuilt Using Lightning Web Components (LWC)
4. Other Flow Builder Enhancements
When building a flow, you can choose either free form or auto layout.
When using auto layout, components that are connected without a line are now highlighted when selected – this makes it easier to find them on the canvas.
If you are using custom labels, from Summer ‘22 you should notice the performance of the Flow Builder is improved. Visit the following pages for further details:
- Find Connected Flow Elements Faster with Go To Connector Enhancements
- Get Better Performance with Custom Labels
5. More Options in Flow Trigger Explorer
In the recently-launched Flow Trigger Explorer, you can edit the order of flows using a drag-and-drop tool.
From here you now have the option to create a new flow. New keyboard shortcuts have also been added to make moving around the interface even easier.
From the Object Manager, you can now see Flow Triggers with a shortcut to the Flow Trigger Explorer.
Salesforce offers useful documentation on the following topics:
- Manage the Run Order of Record-Triggered Flows from Flow Trigger Explorer
- Create Relevant Flows from Flow Trigger Explorer
- Navigate Flow Trigger Explorer with Keyboard Shortcuts
- Access Flow Trigger Explorer from Object Manager
6. Flow Testing
Using the new View Tests (beta) option in Record-Triggered Flows, you can create your own tests to check your automations before you make them live.
7. API Version 55.0
As with all releases, Salesforce have incremented the API version by 1 to 55.
This changes the behaviour of merge fields in some instances, so be sure to check out the release notes for further details about the change.
8. Run Screen Flows in Slack (Beta)
You can now send a message in a Slack channel, direct message, or the messages tab to launch a flow.
This will appear to the recipient as a button – when pressed, this will launch the specified flow.
We’d love to hear your use cases for this in the comments below, such as filling in a form when a record is updated by an integration!
9. Delete Flow and Process Versions from Managed Packages
AppExchange partners can now delete a Flow or Process Builder version from a managed package (in your packaging org) to help keep things tidy, and avoid releasing a deprecated version of an automation by mistake!
10. Flow and Process Release Updates
With this release, Salesforce have announced some new release updates, as well as some updates to others in terms of their enforcement dates.
Be sure to check out the details carefully and run a test in your sandboxes before enabling in production – prior to the auto activation date!
There video from Salesforce will help with this topic, as well as the following resources:
- Accurately Measure the CPU Time Consumption of Flows and Processes (Release Update)
- Disable Rules for Enforcing Explicit Access to Apex Classes (Release Update)
- Evaluate Criteria Based on Original Record Values in Process Builder (Release Update)
- Make Paused Flow Interviews Resume in the Same Context with the Same User Access (Release Update)
- Run Flows in User Context via REST API (Release Update)
With the Summer ‘22 release, Salesforce is treating us to a host of new features and functionalities for Flow.
Enhancements will be hitting production orgs from May 20, with sandboxes being upgraded from May 6.
Don’t forget to share your favourite Flow features below!