fferpcore.ffasync_RecordsDeletionServiceglobal with sharing class ffasync_RecordsDeletionService The service class for deleting fferpcore.ffasync_Process Runs, associated child Runs, and their Logs. Methods
deleteLogsOlderThanXDaysglobal static void deleteLogsOlderThanXDays(Integer daysOld) Deletes logs older than the supplied number of days. Input Parameters
Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. You need to provide some sample code deleteLogsByFinishedProcessRunIdsglobal static void deleteLogsByFinishedProcessRunIds(List<Id> processRunIds) Deletes fferpcore.ffasync_Process Run and fferpcore.ffasync_Process Log records using the supplied fferpcore.ffasync_Process Run IDs. Input Parameters
Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. You need to provide some sample code |