function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
James@KronosLabJames@KronosLab 

Validation in Actions

Hey all,
   I'm still trying to find out how I can do form validation in an action.  In Triggers, you do it with an addError on the field that caused the problem, but in an Action, I can't find a similar mechanism.  Can someone lend me a hand here?
 
James
dchasmandchasman
James,

This is an area that we are still working out the details - there is no support for this in Summer '07. Throwing a custom exception will also not result in the type of behavior I expect you are looking for. More details will be coming out over the next few months. If system supplied error handling is something you can't wait for you can roll your own to som extent.