Q: 14
Universal Containers wants to ensure that all new leads created in the system have a valid email
address. They have already created a validation rule to enforce this requirement, but want to add an
additional layer of validation using automation.
What would be the best solution for this requirement?
Options
Discussion
I'm torn here, but B makes sense for broad coverage. I think it's safer than A or C for most lead sources.
For me, B. Before-save Apex trigger is ideal for this extra server-side validation. Fits what Salesforce recommends for universal checks.
C or A. If the question wants actual validation against an external system (like checking email deliverability), a custom LWC callout (C) or REST API callout (A) would be more direct than just regex stuff.
Be respectful. No spam.