โ10-20-2020 02:52 AM
Hi, is there a way to retrieve deleted records in Salesforce using โSalesforce Bulk Queryโ snap? It works fine for Salesforce SOQL snap but I canโt see any such option in Bulk snap.
โ10-20-2020 04:11 AM
Hi @apoorva_mithal,
But, in general, does the bulk operation offers something like what you expect? I think itโs not supported by any other technology.
SOQL is a different approach.
/Igor
โ10-20-2020 10:35 AM
Hi @igormicev,
I am assuming since the data is stored in recycle bin it would be retrievable (might be wrong there!).
Can you suggest how I can keep up with this and not use SOQL snap instead?
โ10-21-2020 10:29 AM
Hi @apoorva_mithal,
If you need to save the records (or the IDs of them) that youโre deleting, then youโd need to first save those. It could be into file(s) or stage table in a database and then you delete them.
In case the number of rows is high, then Iโd split them into chunks and delete chunk by chunk. Before deleting I would save the IDs of those records (and maybe some more columns) and then perform the deletion.
/Igor