FinDock heartbeats

All FinDock Core heartbeats are daily jobs that run in a predefined sequence. The FinDock Heartbeat itself runs every hour and checks these heartbeats for what needs to be executed for the given day.

Typically these individual heartbeats do not need to be modified, but settings can be changed if needed. Always proceed with caution (and testing) when adjusting custom settings.

Adjusting FinDock heartbeats

The default heartbeats included in FinDock are listed below. Other heartbeats are added through optional FinDock packages.

HeartbeatFunction
CalculatePaymentScheduleCountersBeatrecalculates payment schedule statistics
CalculateTransactionSetCountersBeatrecalculates counters on Transaction Set records
CleanJobRecordsBeatdeletes temporary Job records created by FinDock processes to free up record space
CountCollectedInstallmentsBeatupdates number of collected installments on Recurring Payment records
GenerateInstallmentsBeatgenerates installments for recurring payments
GenerateMandateSchedulesBeatruns mandate schedules with auto-run enabled, Status = Scheduled, and Run Date = Today
GeneratePaymentSchedulesBeatruns payment schedules with auto-run enabled, Status = Scheduled, and Run Date = Today
RecurringMandateScheduleBeatgenerates new mandates schedules for recurring mandate schedules when auto-generate is enabled
RecurringPaymentScheduleBeatgenerates new payment schedules for recurring payment schedules when auto-generate is enabled

Before adjusting the default heartbeat configuration, please keep in mind the following dependencies:

  • RecurringPaymentScheduleBeat must finish before GeneratePaymentSchedulesBeat
  • GenerateInstallmentsBeat must finish before GeneratePaymentSchedulesBeat
  • RecurringMandateScheduleBeat must finish before GenerateMandateSchedulesBeat

FinDock uses a soft enforcement mechanism for these dependencies. If the Start Hours of dependent heartbeats are more than an hour apart in the wrong sequence, then the heartbeats may result in unexpected behavior. Proceed with caution.

To adjust heartbeat custom settings:

  1. Under Salesforce Setup, go to Custom Settings.
  2. From the list, find the Heartbeats custom setting.
  3. Click Manage next to Heartbeats.
  4. Click Edit next to a specific heartbeat job.
  5. Adjust the settings as needed and click Save.
    • Last run date: date and time when the heartbeat job was run. To force a re-run (e.g. to retry payment schedules), you can change the date to today minus one day. The heartbeat is executed again by the next hour.
    • Order: 2-digit number indicating starting order of heartbeats within the given Starting Hour.
    • Starting Hour: 2-digit number indicating starting time of day (24-hour) for the heartbeat. Starting times can be adjusted to accommodate other business processes if needed.

Was this page helpful?