Salesforce Times
  • Home
  • News
  • Articles
No Result
View All Result
Salesforce Times
  • Home
  • News
  • Articles
No Result
View All Result
Salesforce Times
No Result
View All Result
Home Articles

Salesforce Spring’25 Release Notes | Flow Extensions and Management

Antonis Melakis by Antonis Melakis
March 10, 2025
in Articles, Release Notes
0 0
0
Salesforce Spring’25 Release Notes | Flow Extensions and Management

Spring Release 2025 Blog Template 1 - 708x428 - 1

0
SHARES
3
VIEWS
Share on FacebookShare on Twitter

2. Design Component Errors for a Better Experience

Developers can now enhance error handling at run time for Lightning web component on a flow screen. Previously, the input validation error message from the flow appeared only under the component. Now components that manage their own validation can control how and where errors appear without the risk of showing duplicate errors. @api interface can be used to implement the existing validate() method and the new methods setCustomValidity(externalErrorMessage: string) and reportValidity()

Where: This change applies to Lightning Experience and Salesforce Classic (not available in all orgs) in Professional, Enterprise, Performance, Unlimited, and Developer editions. It’s not supported in Classic runtime for flows

Why: Previously, if the component contained an invalid input, the flow displayed an input validation error message below the component at run time. If the component also contained validation logic that displayed an error message, the flow user saw duplicate error messages. Now it can be customized how and where to display the error messages

How: For components that contain validation logic, you can now implement these methods to take control of rendering errors.

  • validate()
  • setCustomValidity(externalErrorMessage: string)
  • reportValidity()

For existing component validation, the same logic that’s contained in the validate() method can be kept. Like before, the flow calls the validate() method when a flow user navigates to the next screen or finishes the flow. The flow calls the new setCustomValidity(externalErrorMessage: string) method when there are input validation errors. When the setCustomValidity(externalErrorMessage: string) method is called, the component stores the input validation error message from the flow, so it can be displayed later. The flow calls the reportValidity() method when it’s time to render any errors that your component is aware of

Previous Monitor All Failed and Paused Flow Interviews from the Automation Lightning app
Next
Tags: Salesforce Flow
Previous Post

Salesforce Spring’25 Release Notes | Flow Builder Run-Time Changes

Antonis Melakis

Antonis Melakis

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Salesforce Spring’25 Release Notes | Flow Extensions and Management
  • Salesforce Spring’25 Release Notes | Flow Builder Run-Time Changes
  • Salesforce Winter’25 Release Notes | Screen Flow Updates
  • Salesforce Winter’25 Release Notes | Flow Builder User Experience Updates
  • Salesforce Spring’25 Release Notes | Flow Builder User Experience Updates

Recent Comments

No comments to show.

Tags

Analytics Apex AppExchange Artificial Intelligence Automation Awards and Recognition Configuration Customization Data Development Digital Transformation Fields Flow Actions Flow Builder Flow Builder Updates General Enhancements General Mobile Updates General Setup Globalization Lightning App Builder Lightning Reports and Dashboards List Views Mobile Partnership Permissions and Sharing Sales Salesforce Flow Salesforce Mobile App Salesforce Overall Salesforce Partners Salesforce Spring ’25 Release Notes Salesforce Summer '24 Release Notes Salesforce Winter ’25 Release Notes Security, Identity, and Privacy User Experience
  • Home
  • News
  • Articles

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Home
  • News
  • Articles

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.