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