You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Throw multiple exceptions

edited Oct 24, 2018 11:27AM in Sales 8 comments

Content

Hi Everyone,

Would it be possible to throw multiple exceptions on an object using validation rules?

Example :

if(condition 1 satisfies)

{

 throw an exception

}

else if(condition 2 satisfies)

{

throw an exception

}

 

basically user should receive 2 exception messages at the same time.

 

Regards,

Rohit

Version

R13

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!