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);