Cleans up log records based on preconfigured date values. You can change those values in Setup.
fusionCore Commerce
FC: Active Benefit Allocations
Daily at 12:00 AM (midnight)
BenefitAllocationStatusUpdateScheduler
Activates Benefit Allocation records whose Start Date is today, when allocations are available from the linked purchase activity.
fusionCore Subscriptions
FC: Generate Renewal Orders
Daily at 4:00 AM
SubscriptionRenewalBatch
Generates Renewal Orders for Subscriptions where the Renewal Day equals the Days to Lapse.
fusionCore Subscriptions
FC: Process Subscription Purchase Activity records
Daily at 12:00 AM (midnight)
SubscriptionPurchaseActivityBatch
Checks each Subscription’s Status against its Start Date, End Date, Renewal Date, and Grace Period.
fusionCore Committees
FS Committees: Process Community Position records
Daily at 12:00 AM (midnight)
FS_CGPositionUpdater
Reviews Community Position records each night and deactivates the ones that need it.
fusionCore Commerce
FC: Payment Provider Event Validation
Daily at 12:00 AM (midnight)
PaymentProviderEventValidationBatch
Validates Payment Provider Events in submitted status and updates them accordingly.
fusionCore Commerce
FC: Wallet Items Expiration
Daily at 12:00 AM (midnight)
WalletItemsExpirationBatch
Marks Wallet Items as expired once their expiration date has passed.
fusionCore Commerce
FC: Auto Charge
Daily at 4:00 AM
AutoChargeBatch
Checks Installment Financial Events whose date is today and attempts a payment when the criteria are met.
fusionCore Subscriptions
FC: Subscription Start Date Updater
Daily at 12:00 AM (midnight)
SubscriptionStartDateUpdaterBatch
Updates Subscription Order Items whose Subscription Start Date is in the past to the current date.
fusionCore schedules these jobs when each package is installed, and an administrator can change any schedule (see Schedule a new job below). Jobs run in the time zone of the user who scheduled them.Stagger jobs that touch the same records. In particular, FC: Process Subscription Purchase Activity records must run beforeFC: Generate Renewal Orders — schedule Purchase Activity at 12:00 AM and Renewal at 4:00 AM. Both update subscription and purchase activity records, so if renewal runs first (or at the same time) it can generate renewals from stale subscription statuses. If your org’s installed defaults differ, reschedule these two jobs into this order.
After an install or upgrade, verify that your jobs are scheduled correctly and check your email for any notifications about failed jobs. If a job fails to schedule, Salesforce emails the admin who performed the installation with details about the failure.
Navigate to Setup. In the Quick Find box, enter Scheduled Jobs, then click the menu item.
2
Start a new scheduled job
Click Schedule Apex. Enter a Job Name (for example, FC: Log Clean Up Batch Job).
The Schedule Apex button on the Scheduled Jobs page
3
Select the Apex class
Click the search icon next to the Apex Class field and select the appropriate Apex class (for example, LogCleanUpBatch).
4
Set the frequency
For Schedule Using, choose Schedule Builder. Set the appropriate Frequency. For a daily job, select Weekly and check every day of the week.
5
Set the start and end dates
Set the Start date (this can be today’s date). If the job should run indefinitely, set an End date far into the future (for example, the year 2125).
6
Set the start time
Set a Preferred Start Time. As a best practice, run jobs when the fewest users are online (often overnight). Stagger the start times of jobs that affect the same objects. For example, in the table above, FC: Process Subscription Purchase Activity records runs at midnight and FC: Generate Renewal Orders runs at 4 am, so the status job finishes before renewals are generated (both affect the Purchase Activity object).The following screenshot shows a Schedule Apex job before it has been saved.
If a job was previously named differently from what is listed in the table above, the system re-adds it using the standardized name. This can create duplicate jobs for the same functionality. After an upgrade, review your scheduled jobs and remove any redundant ones.
⌘I
Assistant
Responses are generated using AI and may contain mistakes.