Our 10 top features coming in Salesforce Spring ’21 (As Admin/developer)

Fodil Boudjedien
Altius services
Published in
4 min readJan 18, 2021

Spring ’21 release is at the door, so here our selection for top upcoming features in this release.

This selection is done based on their impact on our daily tasks as an Admin/Developer role.

1- Refer to the Prior Values of the Record That Triggered Your Flow

Record-Triggered Flows in the update action can access the prior values of that record and include them in your logic (assignment, conditions…)
Accessing the prior value of a filed using the global variable
$Record__Prior.[Name of the field]
See more here

2- Execute a part of a flow in a scheduled way

You may have wondered many times how can we find an alternative in Flows of scheduled actions in Process Builder or time-dependent actions in workflow rules, This release has come with that, Scheduled Path lets you execute your logic in Record-triggered flow and in Scheduled way.
To see that feature the flow should start on :
- every time a record is created.
- or every time is updated with at least one condition and the fact that: “Only when a record is updated to meet the condition requirements”.

To create a new scheduled path click on the button Add Scheduled Path.

to configure the execution, fill the Date or Date/Time field that calculation is based on in Time Source, the offset options: Days After, Days Before, Hours After and Hours Before and The offset Number which represents the value.

See more here

3- Send Rich text through Flow send mail actions

Send email Actions in Flows used to send plain text emails, now with Spring ’21 release, Emails could be sent as Rich text when using Send Email actions in Flows.
See more here

Enable Rich text formatted Body in Send mail action
Rich text Format in Text Resources

4- Manual sharing in Lightning Experience

Manual Sharing is henceforth available in Lightning Experience without going back and forth to classic.
See more here

Sharing action
sharing pop-ups

5- Access Custom Metadata Type Records Using Static Methods

When using MetadataTypes, we used to need to create a SOQL query to get all fields from the __mdt object, and that made it hard sometimes (forget some fields, … ).
Now with this release, we can use getAll() Static Methods, the same way as Custom settings.
See more here

Example of using getAll() static method

6- Customize Markers and Control Map Behavior in lightning-map Base Component

If you are not a fan of the old-markers shapes in the lightning-map component, this release has open the door for us to customize the markers by introducing its SVG code in the mapIcon attribute inside the mapMarkers objects.
See more here

7- Query All fields in SOQL without writing all fields’ Name

Finally in this release, SELECT * alternative has come out, with the Function FIELDS() it is now possible to call all fields, all standard fields or all Custom fields, using FIELDS(ALL), FIELDS(STANDARD), and FIELDS(Custom)
See more here

8- Lightning Email Templates Improvements

if you have been a user of emails in salesforce, I’m sure that you’ve suffered from the limitation of Lightning Email Templates compared to Classic emails, now, they are not a ghost anymore.
In this Release, They can be included in change sets and packages so you can move them from your sandbox to the production org.
And also they are included in automation tools (email alerts, Flow, Workflow, Process Builder, Approval Processes, and more).
See more here… and here

9- Opportunity Products can be related to other objects

Now, opportunity products can be related to any standard and custom objects, which makes it flexible to enhance your data model.
See more here

Opportunity Product

10- Track Changes Between Your Local Project and a Sandbox

if you want to compare your project code with the one that existed in the sandbox you can use this command
sfdx force:source:status -u DevSandbox
See more here

--

--