Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

How can I update a few records in the database where a specific DML operation is currently not allowed?

Asked by Caroline Brown Mar 20, 2024 1.0K views 4 answers
Share

About this question

 I am currently working on a critical database system where a specific DML operation is currently not allowed because of ongoing maintenance. One of my colleagues urgently needs to update a few records in the database so that he can fix the issue that is impacting a live application. How can I handle this particular scenario, ensuring both the integrity of the database and the immediate resolution of the issue? 

Your answer

4 Answers

Kyriemilan Latest answer

Answered on Mar 14, 2025

Handling a critical database system during maintenance while needing to perform urgent updates requires a careful approach to ensure data integrity and minimize disruption. If feasible, consider temporarily lifting the restrictions on DML operations, ensuring that this is communicated clearly and monitored @fnaf

Was this helpful?

Diegochi

Mar 31, 2026

Hey everyone, that's quite the detective work your friend did! It sounds like he really landed himself a mystery bike. Reminds me a bit of trying to figure out the perfect sundae at papa's freezeria - so many options, and you never know what hidden gems you might find! I'd say contacting BMW is definitely your best bet to get the engine number confirmed. Good luck with the investigation! Let us know what you find out.

Ariel Brown

Answered on Dec 16, 2024

You can use Database.update with the allOrNone=false option to ignore error records, or perform Pokerogue game the update in @future methods or Queueable Apex to handle current DML restrictions.

Was this helpful?

Yanie Bogisish

Answered on Nov 12, 2024

@Retro Bowl Online In this situation, urgency and database integrity must be balanced. If the DML action is restricted, use a stored procedure or trigger to safely handle updates. You might also enable a “maintenance mode” that allows emergency updates and documents all changes. Maintain backups and test thoroughly to avoid future difficulties. Good luck!



Was this helpful?

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.