As Salesforce Summer ’21 Release is approaching, so today we will take a quick sneak peak of Salesforce flow. You can also check Quick Overview of Salesforce Summer ’21 Release Notes here. This list is based on the difference which I found in Flow. I will cover all points one by one.
This is a new Logic variable. In this we can easily sort existing collection variables. If we have sObject type collection variable then we can sort them based on the sObject fields. For normal collection variable we can sort in Ascending or Descending. We can also decide how many item we want to keep after sorting.
Debug Record Triggered Flow
Previously it was not possible to debug Record triggered flow. Now with Summer 21 release we can easily debug the Record Triggered Flow. When we have flow setup to Run on Create/Update then during debug we can set if we want to Test record creation or update.
Debug Details in Record Triggered Flow
There is one more addition here, when we debug the record triggered flow we can also check debug details. These details include: Show Governor Limit Consumption and Show Transaction Boundaries.
IsChanged is Now Available
Although we already have record_prior to compare with previous values. We can now also use Is Changed to check if field values is changed
Update Records in Before Save Flow
So far we don’t need to do explicit update when we use before save flow. We can just use the assignment variable and if we need to do some checks if we can use decision. Now we can do both in same Update Record. And based on available option we can use same to update other objects records. Is Changed is not available here but we can use record_prior to compare values.
Fields Component in Screen Flow
Previously to use sObject fields we need to bind them with custom component. Now we can use Fields Component and can directly use sObject fields. But if we want to display filtered value for any picklist or want to apply any customization then that’s not possible from this UI.
As of now this is in beta and not all fields type are supported. But you can still consider a important feature and once its fully available it would be great help.
Pause Auto Launch Flow During Debug
We can now the debug the pause event during debug of Auto Launch flow. We get the option to resume the Flow or it will auto resume after specific time.
So these are some of the updates which I found during my initial testing for Salesforce Summer 21 Flow. Once we get the release notes we will get the details list. If you already have pre release org you can use that to check these feature or you can signup for Summer 21 org here.
Which feature you like most, let me know in comments. Happy Programming 🙂