The Developers Speak is a video series featuring certified Salesforce consultants at Digital Mass. They come to you twice a month to help bridge the gap between business problems and technical solutions.

Flows, flows, flows! It wouldn’t be a Salesforce release without updates to flows and Winter '22 is no exception! Today, Andrew is covering updates that technical admins will really enjoy, like the new features to flow builder utility, the ability to invoke subflows on specific record trigger flows, roll back updates, and invoke outbound messages from after save record triggered flows.

Transcription:

Hello everyone. Andrew Davis here, senior developer with digital mass. And today we're going to talk about another exciting subset of features to be released in the winter 22 release. If you haven't had a chance to dive into any of these features, quite yet, you can sign up for a free developer edition org with all of the winter 22 features in preview. Of course, if you have a sandbox that's already in preview mode, you can check them out there as well. Today, we're going to talk about one of my personal favorite declarative automation suites out there on the market. And that's Salesforce is a flow builder utility. There are a lot of very exciting new features being unveiled for flow builders that really help empower and embolden technical admins who are, who are building on the platform. One of these features is the ability to send external messages or call out to external services from within your flows using a new asynchronous path option that's available to you in the flow configuration interface, which is also a new feature in winter 22. So what you can now do is you can actually set an entirely separate path, a subset of actions to be executed asynchronously after a transaction commits in your after safe record triggered flows, that will allow you to do things like reach out to an external system, or submit a message in slack or teams or our post something to Heroku or maybe send some sort of commit message to an external database.

Next with flows is the ability to invoke sub-flows on both after save record triggered flows and the before delete variant on record triggered flows, this is particularly useful because there has been more traditional flows. That is the non-record-triggered flows, but then the ability to invoke sub flows that is calling another flow from your existing flow context and chain them together, taking advantage of all of the returns and things like that.
This will allow you to consolidate and compartmentalize your flow logic and allow you to keep more clean, concise declarative automation in your instance, without having to create redundant elements and things like that. But before winter 22 was released this wasn't possible with record-triggered flows, you actually had to create a lot of those same pieces of logic, even if they were shared across multiple objects. For instance, now with sub-flows, you can actually chain that together. You can consolidate all that logic and you can take advantage of what's been previously available for your standard auto launched flows.

For instance, another cool feature, with flows is the ability to roll back updates. So that's right in declared to development in apex today, you can actually set safe points in the database and roll back your transaction to a previous state in case things go awry. Well, that same functionality is now available in flows. So if, for instance, you had an update, let's say on an account where you, perhaps you inserted an account record in one of your flows, you then had a contact insert immediately thereafter intended to look up to that previously inserted account. If it's the case that the contact insert fails, perhaps you want that account record to not be created in the system. Well, before winter 22, that account record would have been created, but the contact would have failed. If you had some sort of fault handling logic in the flow, you would have been left with one account, no contact, and your flow have been resolved without having any significant errors that would have prompted the user within any disruption. Now, with this rollback behavior, you can actually extend the behavior of your fault handling to include a rollback to a previous state in the flow, allowing you to actually redact that account, insert and ensuring that that account is not created without a successful contact insert. This is very helpful for ensuring a consistent state in your database, ensuring that you have even cleaner, better-handled errors and is something that better reflects the development side of things.

Lastly, workflow rules are no longer the only source to push outbound messages to external services. That's right. You can now actually invoke outbound messages from your after saving record-triggered flows. So maybe a great excuse if ever there was a reason to continue to use workflow rules. That was certainly one of them. And now replaced that with your after save record trigger flows. After that commit happens, you can have an outbound message pushed to the service or the endpoint of your choosing with all the account information or all of the record information of your choosing using your existing configured outbound messages. That's really it that we have for flows today. We're going to be talking about Salesforce functions in the next video, looking forward to geeking out with the developers, then thanks.

About the Developer:

Meet Andrew Davis: Andrew joined the Digital Mass team as a Senior Salesforce Developer in August 2020. He came in with a few certifications on his belt and hasn't slowed down since. Andrew currently holds 10+ Salesforce certifications.

Outside of work, Andrew likes to spend his time playing D&D, camping, and burying himself in Youtube playlists exploring things ranging from emerging technologies to how to hand-sew your own socks - it’s pretty obvious he fits right in with the DM crew!

Flows, flows, flows! It wouldn’t be a Salesforce release without updates to flows and Winter 22 is no exception! Today, Andrew is covering updates that technical admins will really enjoy, like the new features to flow builder utility, the ability to invoke subflows on specific record trigger flows, roll back updates, and invoke outbound messages from after save record triggered flows.
Salesforce Winter '22 Administrative Updates to Inline Editing, In-App Guidance, and Dynamic Interactions
Salesforce Administrators are getting a lot of really great updates in the Winter ‘22 Release. Today, Andrew is covering extended support for inline editing, in-app guidance, and dynamic interactions.
Salesforce Winter '22 Updates To Look Out For
This week we'll be sharing a few of the updates that we feel will bring a lot of value to your Salesforce implementation. But before we do that, Andrew wants to make sure you’re aware of some of the big updates that will be happening soon after the Winter ‘22 release, like the push to MFA and ICU Locale format changes.
Salesforce SSO: What it is + How it works: The Developers Speak: Volume 2, Episode 5
On this episode of The Developers Speak, Tom goes over what Salesforce Single Sign On (SSO) is and how it works. He also shares a tip about how to make it work "in the wild".
The Advantages of Connecting Salesforce Marketing Cloud + Google Analytics: The Developers Speak: Volume 2, Episode 4
On this episode of The Developers Speak, Justin goes over what the Salesforce Marketing Cloud and Google Analytics integrations is, and why marketers should be taking advantage of it.
Why Salesforce is requiring Multi-Factor Authentication: The Developers Speak: Volume 2, Episode 3
On this episode of The Developers Speak, Alex explains why Salesforce will be requiring Multi-Factor Authentication and ways you can get your org ready for it.
3 Ways to Increase Email Performance in Salesforce Marketing Cloud: The Developers Speak: Volume 2, Episode 2
On this episode of The Developers Speak, Kristina shares 3 tips that will increase email performance rates in Salesforce Marketing Cloud.
Aligning Salesforce with Business Units: The Developers Speak: Volume 2, Episode 1
On this Episode on The Developers Speak, Tom shares the biggest tip he's learned while working with business units and the steps he takes to make sure that business users get the most out of updates to their Salesforce org.
LWC Styling Hooks: Summer '21 Salesforce Release
Today, we're covering another big feature, sure to make front-end devs happy, LWC Styling Hooks.
LWC Quick Actions: Salesforce Summer '21 Release
For the developers out there - LWC Quick Actions are here!
All about Flows!: Salesforce Summer '21 Release
There are some great, long-desired changes are coming to flows in Summer 21 - no pilots, no betas - all of these features are hitting prod on June 11th and 12th!
Sharing Hierarchy Functionality: Salesforce Summer '21 Release
Now, with the click of a button, querying sharing and group maintenance tables, or deciphering your accumulated sharing rules are in the past if you ever want to figure out who has access to a record in Salesforce. With the new release the sharing hierarchy functionality, you'll be able to get to the bottom of the problem faster than ever.
Inline Editing for Reports: Salesforce Summer '21 Release
In honor of the Salesforce Summer Release, Andrew is kicking us off with 1 of the features he's most excited about this release: inline editing for reports!
Pardot VS Marketing Cloud: Which tool is right for your team?: The Developers Speak, Episode 0.7
Who knew choosing the right marketing automation tool could be so hard? Alex did. That’s why this week on The Developers Speak he breaks down what the differences between Pardot and Marketing Cloud are, and some considerations you should take into account before deciding.
CRM + C&E = A Match Made In Heaven: The Developers Speak, Episode 0.6
The construction and engineering industry is all about relationships... funny enough, so is Salesforce! This week, Andrew Davis breaks down why it's important for the C&E industry to have a centralized source of truth + how Salesforce can help simplify the estimating and quoting process.
The Best Way to Save Time on Deployments: The Developers Speak, Episode 0.5
It’s 2021, stop deploying code like it’s 1990. Ethan is back this week to tell you about the best way to automate deployments and the benefits that you’ll see from doing so.
Leveraging the Power of Pardot: The Developers Speak, Episode 0.4
Pardot is a powerful tool for B2B marketing, but there are still tricks to the trade. Alex calls out a couple of tools that he thinks Pardot users should take advantage of to get more email conversions… because that’s what it’s all about, right?
The Do's and Don'ts of Data Integrations: The Developers Speak, Episode 0.3
Data integrations can get really complex really fast. So, what can you do to avoid any pitfalls that might come your way?
Lightning Tips for Lightning Components: The Developers Speak, Episode 0.2
Are “Lightning Tips” a thing yet? They should be. Salesforce Developer Ethan King breaks down exactly what you need to do to design better LWC’s.
When developers know, the business grows: The Developers Speak, Episode 0.1:
Translating business needs into technical requirements is no easy feat… but when a developer knows, the business grows!