Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Abort Export Process
Sets the state of a CSV export process to Aborted. When a CSV export process is running
for a longer duration than expected, it consumes resources and blocks the scheduling of new
exports. The following Abort Export code snippet unblocks the scheduling by aborting the export
process.
- Sample Apex Code Snippet
-
1OffPlatformCallout request = new OffPlatformCallout('ABORT_EXPORT_PROCESS','0001'); 2Map<String, String> data = new Map<String, String>(); 3data.put('csvGuid','11b19630-08f0-4f57-8e14-1778c0d3abde'); 4data.put('metaname', 'IntegrationExportPromotion'); 5OffPlatformCalloutResponse response = request.execute(TransactionHandler.getTransactionIdentifier(), data, null); 6System.debug(response);