AnsweredAssumed Answered

Bypass Validation When Running A Script

Question asked by RonCates on Nov 5, 2010
Latest reply on Nov 5, 2010 by philmodjunk


Bypass Validation When Running A Script


I have a field in a layout that has validation set to "Not Empty". On the same layout I have a field with a script trigger to run a script on modification. The script goes to another layout and deletes all related records in order to replace them with the new selection. Now, when a user triggers the script before populating the field with the validation the script proceeds to delete all records without leaving the current layout. Not a good thing. I remember seeing somewhere that a script can be set to bypass validation. Is this correct and how would I set it?