cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Salesforce Bulk Query to get deleted records

apoorva_mithal
New Contributor

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.

3 REPLIES 3

igormicev
Contributor

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

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?

igormicev
Contributor

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