You need to sign in to do that
Don't have an account?
Gajanan Kadam
How can i pass error message on salesforce record by apex code in process builder.
I wrote a process builder in order to add an error message on the record details page.
I am calling apex class in order to add a message on page
public class AutoConvertLeads {
@InvocableMethod
public static ProcessMethod(List<Case> Caselist) {
for (Case clist:Caselist){
clist.addError('error');
}
}
}
Could you please help me with this.
Thanks,
Gajanan
I am calling apex class in order to add a message on page
public class AutoConvertLeads {
@InvocableMethod
public static ProcessMethod(List<Case> Caselist) {
for (Case clist:Caselist){
clist.addError('error');
}
}
}
Could you please help me with this.
Thanks,
Gajanan
Raj Vakati
Try like this