You need to sign in to do that
Don't have an account?
Ab
adding error messages to multiple records
Hello,
If i need to add errors to multiple objects that caused the eror.
I am executing triggers and i add apex.add message
but i want to add the message to the multiple objects that created the error
how cna i achieve ot ?
If i need to add errors to multiple objects that caused the eror.
I am executing triggers and i add apex.add message
but i want to add the message to the multiple objects that created the error
how cna i achieve ot ?
Assuming you want to have trigger on contact object, you can a trigger like below
Similarly you can work it out for an object of your interest.