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
Anil MeghnathiAnil Meghnathi 

Stop RollBack when we use addError in Trigger

I have a Trigger on FeedItem.I have inseted an Custom Object record in that trigger.After that custom object insertion when i use feed.addError('Block'); the inserted custom object will be RollBacked.Any idea how to Stop RollBack when we use addError in Trigger??

 

Please help me.Its urgent

 

Thanks

Anil 

Gunners_23Gunners_23

I dont think rollback can be stopped from happened. Don't have a prvilage to do that