Foundations Apex API Developer Reference

fferpcore.ffasync_RecordsDeletionScheduler

global inherited sharing class ffasync_RecordsDeletionScheduler implements Schedulable

Schedules the deletion of Process Logs and Process Runs older than the number of days specified in the Days To Keep Process Runs & Logs custom setting. The default value is 90 days

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.

fferpcore.ffasync_RecordsDeletionScheduler sched = new fferpcore.ffasync_RecordsDeletionScheduler();
// Seconds Minutes Hours Day_of_month Month Day_of_week optional_year
String sch = '00 25 10 * * ?';
String jobID = System.schedule('Record Deletion Schedule', sch, sched);

Methods

ffasync_RecordsDeletionScheduler

global ffasync_RecordsDeletionScheduler()

© Copyright 2009–2024 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.