Scheduled Jobs
Below are the list of scheduled jobs to be configured with our Platform with the recommended times in 24-hour format.
Important: The following information is referring to Scheduled Jobs in Fonteva Version 20Spring or later. For special considerations related to version 19R1, refer to the information panel at the bottom of the page.
Spark Framework (Framework):
Name | Time | Summary |
---|---|---|
Scheduler | 00:00 | This job sends the System Logs to Splunk for Fonteva to identify issues in an org. |
RollupScheduler | 04:00 | This job executes all Batched Rollup Summaries. |
Charge (OrderApi):
The following job is available in the Fonteva 20 Spring release and later in the Charge app (OrderApi).
Name | Time | Summary | Job Criteria | Actions When Ran |
---|---|---|---|---|
BadgeBatchableScheduler | 02:00 | Running this job updates the Badges is Active flag depending on the Awarded and Expired Date fields. It also checks is the Badge has a Sales Order Line Lookup populated, and if so, checks the related Term and Assignment records. If a Term or Assignment is not active, the Badge cannot be active. |
|
|
FlowDownBadgeBatchableScheduler | 2:30 | Running this job updates flow down badges on the contact and refreshes badge fields so they continue to get recognized. |
OR
|
|
Modifying FlowDownBadgeBatchable
The scheduled job FlowDownBadgeBatchableScheduler refreshes badge fields so they continue to get recognized. It is possible to modify the schedule for this job to better suit your org.'s needs if required. In order to modify the scheduled job, you must first delete it. After it's deleted, you can create a new job for FlowDownBadgeBatchableScheduler with the schedule that meets your needs. After deleting the original scheduled job for FlowDownBadgeBatchableScheduler, follow the instructions for Creating a Schedule Job below. For Step 7, select FlowDownBadgeBatchable from the Lookup window, and for the following steps set the time parameters that you desire.
Fonteva Services:
Prior to the Fonteva 20 Spring release, these jobs were available to run in the Charge app (OrderApi.) As of the Fonteva 20 Spring release, they are located in the Fonteva Services app.
Name | Time | Summary | Job Criteria | Actions When Ran |
---|---|---|---|---|
SchedulePaymentChargeBatchableScheduler | 03:00 | This job locates scheduled payments due the day of running that have valid payment methods. It will charge the amount defined on the scheduled payment. |
|
|
TermCurrentActiveBatchableScheduler | 01:00 | This job finds active Subscription Terms and determines if the Term should be deactivated. |
|
|
TermCurrentInActiveBatchableScheduler | 01:00 | This job finds inactive Subscriptions and determines if the Term should be activated. |
|
|
TermPastActiveBatchableScheduler | 01:00 | This job locates active subscriptions that have arrived at their Term End Date and deactivates them. |
|
|
SubscriptionBatchableScheduler | 03:00 | For active subscriptions only. When ran, this job updates the Days to Lapse field on the subscription. For subscriptions configured for automation, the system creates renewal Sales Orders. If those renewals have automatic payments, scheduled payments are created to automatically renew the subscription on the last day of the active term. |
|
|
InactiveSubscriptionBatchableScheduler | 3:00 | For inactive subscriptions only. When ran, this job updates the days to lapse field on the subscriptions. For subscriptions configured for automation, the system creates renewal Sales Orders. If those renewals have automatic payments, scheduled payments are created to automatically renew the subscription on the last day of the active term. |
|
|
Assemble (EventApi):
Name | Time | Summary |
---|---|---|
EventStatusTransitionScheduler | 00:00 | This job automatically transitions event statuses that have Enable Status Transition checkbox checked and Status Transition Criteria set on the Event Status. |
Creating a Schedule Job
Follow the below directions to schedule an Apex class that implements the "Schedulable" interface to be automatically executed on a weekly or monthly interval.
Click Setup.
In the Quick Find/Search box, enter Apex Classes.
Click Apex Classes from the left-hand menu. The Apex Classes page will open.
From the Apex Classes page, click Schedule Apex button. The Schedule Apex page will open.
From the Schedule Apex page, in the Job Name field, enter the name of the job.
Next to the Apex Class field, click the Lookup Button. A lookup window will open.
In the lookup window, search & select an Apex Class.
In the Schedule Apex Execution section, select the desired Frequency.
Select a Start and End date for the Schedule Job.
In the Preferred Start Time field, select the desired start time for the job to run.
Click Save.
To view the details on your schedule job, see the Viewing Schedule Jobs section below.
Viewing Scheduled Jobs
If you are unsure the details of the Schedule Jobs in your system, you can view the details in the system from the Schedule Jobs page in the setup menu.
Note
Schedule Jobs cannot be modified once they have been created. If you need to change a Schedule Job, it will need to be deleted and a new job created.
Click Setup.
In the Quick Find/Search box, enter Scheduled Jobs.
Select Scheduled Jobs from the left-side menu. The All Scheduled Jobs page will open.
Locate your desired Schedule Job in the table. The table will display the following information columns: Job Name, Submitted By, Submitted date, Started date, Next Scheduled Run, and Type.
Click Del in the Action column to delete the Schedule Job if you want.
Note: 19R1 Schedule jobs are: SchedulePaymentChargeBatchableScheduler, BadgeBatchableScheduler, SubscriptionBatchableScheduler and TermBatchableScheduler. Version 20Spring and later split the TermBatchableScheduler into three jobs (TermCurrentActive, TermCurrentInActive, and TermPastActive), however, these jobs do not work in 19R1.