As part of Winter 24 release, Salesforce released this much-awaited flow feature by which we can fire custom error messages to users as part of record-triggered flows. This feature is available as part of both before and after save record triggered flows.
We can add error messages to a specific field or at the page level.
Advantages
1. Earlier when we wanted to add complex validations to a record save operation, Apex trigger was the only option if it cannot be achieved using a validation rule. Now we can implement this using a flow also.
2. On unexpected exceptions from flow it was showing system error messages always. Now we can replace that with custom messages.
No comments:
Post a Comment