Variations of Deletion behavior in Salesforce and Rollback option

 

1. If a child record (like a Contact or Opportunity) is deleted and the parent record is subsequently deleted (Like the Account), the child record is permanently deleted. Even if the parent record is undeleted, the child record cannot be recovered, but if the child record is undeleted first this won’t happen.

2. When a parent account is deleted, all the links to the child accounts are removed and also deleted. If that account is subsequently restored from the recycle bin, the previous children accounts and their relationship to the parent record are restored.
3. Record data has 3 stages of deletion:

  • Stage 1 – Deleted and sent to Recycle Bin or soft deleted – Data in this stage can still be recovered from the recycle bin or via the API via an undelete() call.
  • Stage 2 – Emptied from the Recycle Bin or hard deleted – Data in this stage cannot be recovered from the recycle bin or undeleted but can be exported from the API using Export All via Data Loader or queryAll() using alternative API client tools.  Records can skip the recycle bin and be put in this state directly by using the ‘Hard Delete’ option in the Data Loader.
  • Stage 3 – Physically/Permanently deleted – Data in this stage has been wiped from database and only recoverable by contacting Salesforce to request a Data Recovery Service.

7 thoughts on “Variations of Deletion behavior in Salesforce and Rollback option”

  1. Hello very cool website!! Guy .. Excellent .. Wonderful ..
    I’ll bookmark your website and take the feeds also?
    I’m satisfied to seek out so many useful info right here in the put up, we need work out more techniques on this regard, thank you for sharing.

    . . . . .

  2. Hi would you mind letting me know which hosting company you’re utilizing?

    I’ve loaded your blog in 3 completely different internet browsers and I must say
    this blog loads a lot quicker then most. Can you suggest a good hosting provider
    at a reasonable price? Thanks, I appreciate it!

  3. Magnificent beat ! I wish to apprentice even as you amend your site, how
    could i subscribe for a blog site? The account aided me a applicable deal.

    I had been tiny bit familiar of this your broadcast offered brilliant transparent concept

  4. I truly love your site.. Excellent colors & theme. Did you make
    this amazing site yourself? Please reply back as I’m
    wanting to create my own site and would love to learn where you got this
    from or exactly what the theme is called. Cheers!
    asmr 0mniartist

Comments are closed.