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

trigger valid update

Hello everyone,



I've developed a trigger to update an Opportunity.


I'ld like to update It only if It's Ok. I mean, I want to avoid all trigger error message due to Opportunity Validation Rules, Opportunity triggers, etc.


In case that the trigger can't update the opportunity, It does nothing.



Any idea?


Thanks in advance