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
Lakshya KanchanLakshya Kanchan 

Data Export info fetch

Hi

My business requirement is to check if the client has taken complete data export 1-2 days back or, not.

Can we have this checked using SFDX CLI or, apex code?

If yes, then how?

Regards,
Lakshya
Best Answer chosen by Lakshya Kanchan
SwethaSwetha (Salesforce Developers) 
HI Lakshya,
You could monitor Bulk API jobs in setup section if export was done using dataloader/workbench.

Also based on Idea https://ideas.salesforce.com/s/idea/a0B8W00000GdhjXUAR/track-export-history, event monitoring can be used to identify data exports

Related: https://developer.salesforce.com/forums/?id=9062I000000BjwxQAC
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000C4zwxSAB

If this information helps, please mark the answer as best. Thank you

All Answers

SwethaSwetha (Salesforce Developers) 
HI Lakshya,
You could monitor Bulk API jobs in setup section if export was done using dataloader/workbench.

Also based on Idea https://ideas.salesforce.com/s/idea/a0B8W00000GdhjXUAR/track-export-history, event monitoring can be used to identify data exports

Related: https://developer.salesforce.com/forums/?id=9062I000000BjwxQAC
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000C4zwxSAB

If this information helps, please mark the answer as best. Thank you
This was selected as the best answer
Lakshya KanchanLakshya Kanchan
Hi Swetha

Thanks for the update.

I have a followup query on this.

As per the link shared by you, we are able to know whether a report was exported or, not.

How can we know that the data was exported from the org using the data export functionality?

Regards,
Lakshya​​​​​​​