In this blog post, we will learn what are the top Spring 22 features of Salesforce Lightning Flow Builder. Below are the list of features which we will be learning in this post.
Spring 22 Features
- View All Object Record Triggered Flows with the explorer
- Migrate Your WorkFlow Rule to Flow
- Control the Order of Execution of your flows
- Open Subflow Directly from the Canvas in Subflow
- Use a Record Collection to Generate Your Choices
- Collection Filter Element
View All Object Record Triggered Flows with the explorer
Now, you can see all the Record Triggered flows for an object and this is really an awesome feature and with the help of this feature we can easily know how many no of flows are running for an object for different DML operation
- Login to Salesforce
- Navigate to Setup
- Search for flows and Click on Flows
- Now Click on “Flow Trigger Explorer Button”
- There you can select your own object and will be able to list all the flows for the particular DML operation
Migrate Your WorkFlow Rule to Flow
One of my favourite feature, as you might be aware of that Salesforce is depreciating the WFR and Process Builder in coming year 2023. So Salesforce have came up with a tool which can easily migrate your Workflow Rule to Flow Builder. We are still waiting for a tool which will convert Process Builder to Flow.
To test this feature follow the below steps
- Navigate to Setup -> Migrate Your WorkFlow Rule to Flow
- Select your workflow and click on “Migrate to Flow Button”
Control the Order of Execution of your RT flows
This update is my favourite one and now we can control the order for Execution of our Record-Trigger flow. For Example, if we have 10 Flow Builder for Account Object and we want these flows to run in certain order. We can provide the specific no between 1 to 2,000.
For Old Flows:
- To make the changes into the existing flow
- Open the flow
- Click on gear icon on the top left
- Click on Show Advanced and then provide order
- See below Screenshot
For New Flows:
- Click on Save button
- Provide Label for the flow
- Click on Show Advanced and then provide order.
- See below Screenshot
Open Subflow Directly from the Canvas in Parent flow
Now, You can open the referenced flow directly from the parent flow
Use a Record Collection to Generate Your Choices
You can use the record collection and create a collection choice set. For Example, you have list of products and you want to list those products as a Picklist or Radio Buttons
Collection Filter Element
Now you can filter unwanted data from your collections in Flow Builder. Use the Collection Filter element to select a collection and define conditions. When the flow runs, the element outputs a collection with only the items that meet those conditions, leaving your original collection intact.
For Example – You have a list of all the opportunities and you want the separate list of Open and Closed Opportunities. Then you can use Collection Filter element.
Complete Video
Thanks for reading 🙂