Get Ready for Summer ’21

SK Cloud
6 min readApr 25, 2021

--

Hello Everyone, The Summer is arriving, so is the Salesforce Summer 21’ release as well. Excited to look into the new enhancements and features from Salesforce?

Here are the Key Dates for the Sandbox Preview:

Key Dates for the Sandbox Preview

So summer is here and with that, we have Salesforce Summer ’21 Release Notes is available. With every release, Salesforce introduces many new features and this release is no different. Let’s have a look at some of the new exciting features.

Salesforce Summer ’21 Release Notes Points Related to Salesforce Admin

Future Requirement to Enable Multi-Factor Authentication (MFA)

Beginning February 1, 2022, Salesforce is making MFA effective. We need to enable MFA for direct and SSO logins.

Build Multicolumn Screens in Flow Builder

Multicolumn Screen in Flow builder is now Generally Available. The Section component is now supported inflows that get launched from Einstein Next Best Action and Actions & Recommendations components. Labels for components in sections are now supported in Translation Workbench.

Use Is Changed in Condition Logic for Start Elements and Decision Elements

We can now use Is Changed for Start elements and Decision elements in record-triggered flows. For Start elements, if you select the Is Changed operator in a condition, you can’t change when to run the flow for updated records.

Use ISCHANGED, ISNEW, and PRIORVALUE in Record-Triggered Flow Formulas

We can now use ISCHANGED, ISNEW, and PRIORVALUE formula functions in record triggered flow. This will help us identify when the record is created vs updated. We need to use the $Record global variable instead of the object. For example, to use ISCHANGED(account.x) in a record-triggered flow formula, change it to ISCHANGED($Record.x).

Place Fields from Your Salesforce Objects Directly on Flow Screens (Beta)

We can now directly add a record inflow screen. When we add a record field to a flow screen, the field’s name, data type, help text, requiredness, and existing values are automatically configured. Record fields don’t save data automatically. Use a Create Records or Update Records element to save the record variable. They only support certain data types for now.

Preview More Flow Screen Components

Now we can preview many components in canvas when building the flow screen. These components are supported: Address, Call Script, Dependent Picklist, Email, Display Image, File Upload, Lookup, Name, Phone, Slider, Toggle, and URL. And we can preview most checkout flow components.

Salesforce Flow Accessibility Enhancements

Focus management has been improved in the flow screen experience. If there’s an error on the current flow screen, the focus is set to the first field with an error. If there aren’t any errors on the current flow screen, using Previous or Next displays the appropriate screen and the focus is set to its first focusable field

Find Failed Flows Faster

Using the new Failed Flow Interviews list view we can easily find failed flow interviews. We can also create our own custom list view to combining failed and paused flow. From Setup, enter flow in Quick Find box, and then select Paused and Failed Flow Interviews. The default list view is Paused Flow Interviews.

Debug Record-Triggered Flows

In Flow Builder, we can easily set up how we want to debug a record-triggered flow. We can now choose a record and trigger a debug run of all the record-trigger flows that make before-save and after-save updates. Previously, Flow Builder didn’t provide debugging for record-triggered flows.

Read Flow Error Emails More Easily

Now flow error email subject will include a flow label instead of a flow API name. In the body also email text is improved.

Salesforce Summer ’21 Release Notes Points Related to Salesforce Developers

Create Quick Actions with Lightning Web Components

We can now use Lightning Web Components in quick action. They are currently supported only on record pages. To set up a Lightning web component as a quick action on a record page, define the metadata in <component>.js-meta.xml. Define a lightning__RecordAction target and specify action type as ScreenAction for a screen action that opens in a window or Action for a headless action that executes when clicked.

To use a headless action, add an exposed invoke() method to our component.

Create Styling Hooks for Lightning Web Components

We can create custom style hooks for LWC. To define a CSS custom property in a component’s style sheet, prefix the property with — . To insert the value of the property, use var()

CSS custom properties are inherited. Inherited properties pierce the shadow DOM. Some CSS properties, like colour, are also inherited. Because CSS custom properties are inherited, a consumer can set their values at a higher level in the DOM tree and style your component.

These CSS custom properties create styling hooks for two themes: light and dark. Pass the fallback value as an optional second parameter to var().

A consumer can set values for the styling hooks to change the theme colours.

Monitor Lightning Component Changes in the Setup Audit Trail

We can now track Lightning component changes in Setup Audit Trail. We can track when a component is created, edited and deleted.

Attach Actions to Asynchronous Apex Jobs Using Transaction Finalizers

The System.FinalizerContext interface contains four methods.

  • getAsyncApexJobId method: Returns the ID of the Queueable job for which this finalizer is defined.
  • getRequestId method: Returns the request ID shared by both the finalizer execution and the Queueable job to which the finalizer is attached. This shared ID helps in filtering logs of a Queueable job and its attached finalizer.
  • getResult method: It returns the System.ParentJobResult enum, which represents the result of the parent asynchronous Apex Queueable job to which the finalizer is attached. Valid values for the enum are SUCCESS and UNHANDLED_EXCEPTION.
  • getException method: Returns the exception with which the Queueable job failed when getResult is UNHANDLED_EXCEPTION, null otherwise.

To attach actions to Queueable jobs, we must implement the Finalizer interface. Only one finalizer instance can be attached to any Queueable job. We can enqueue a single asynchronous Apex job (Queueable, future, or batch) in the finalizer’s implementation of the execute method. Callouts are allowed in finalizer implementations.

Secure Apex Code with User Mode Database Operations

We can now declare when Apex will run in System Mode vs User Mode. The new Database methods support an AccessLevel parameter that enables us to run database operations in user mode, instead of in the default system mode. By default, Apex run in system mode and doesn’t respect running user’s permissions.

Default Font Is System UI Font

SLDS design tokens now use the native sans-serif font that the operating system’s UI provides by default. The Previous font Salesforce Sans is no longer used.

Salesforce Mobile App Requirements Have Changed

Salesforce has released a list of devices for the Salesforce mobile app. Customers can still use the app on untested devices but in case of an issue, Salesforce might not able to provide support. This is the list of devices for Summer ’21.

SK is here for advisory, implementation and supports through these new enhancements and features along with the regular Salesforce features.

Get in touch with us for any Salesforce requirements and we will be delivering it for you with top level quality.

To learn more about our Solutions and Services please visit https://www.sktechsolutions.co.uk/

#CRM #Digital Transformation # Quality #Customer Experience

--

--

SK Cloud
SK Cloud

Written by SK Cloud

SK Cloud Technologies and Consulting LTD is a Registered Salesforce Partner, Offering a fully Managed Service along with QuickStart implementations.

No responses yet