Scheduled Jobs
  • 13 Feb 2024
  • 4 Minutes to read
  • Dark
    Light

Scheduled Jobs

  • Dark
    Light

Article Summary

Do Not Delete

Blackthorn | Events Subscriber Dock, a new, internal scheduled job, was added to the Events app. Please do NOT delete this scheduled job from your org.

You can see our scheduled jobs in Setup > Jobs > Scheduled Jobs. All of the names start with Blackthorn | Events.

How do I change the scheduled job/apex job user?

Before making any changes, please ensure that the person scheduling the jobs has Admin (Blackthorn | Events (Admin)) access to Events. The steps below will delete the current scheduled jobs and user and reschedule the jobs to run under the user who clicks the button. 

  1. Go to the Blackthorn | Events Admin tab. 
  2. Click the Scheduled Jobs tab.
  3. Click Schedule Recommended Event Jobs

Blackthorn | Events Process No-Show Attendees

  • Runs nightly at 11:00 pm.
  • Updates an Attendee's Attendance Status to "No-Show" if the Event End Date has passed, and the Attendance Status is NOT "Attended".
  • This feature can be enabled/disabled using Event Settings' Auto-update Attendance to No Show field.
  • Use the Schedule Recommended Event Jobs button on the Blackthorn | Events Admin's Scheduled Jobs tab.

Blackthorn | Events Attendee Parent Rollup

  • Runs nightly at 2:00 am.
  • Updates the Events Attended roll-up field on the Attendee's parent object (i.e. Lead, Contact, etc.) based on the count of Attendees with Attendance Status = "Attended".
  • Use the Schedule Recommended Event Jobs button on the Blackthorn | Events Admin's Scheduled Jobs tab.

Blackthorn | Events Form Submission Processing

  • Runs at the top of each hour (12:00, 1:00, 2:00, etc.) and every five minutes.
  • Processes Form Submission Answers and links them to the Attendee, Contact, Account, or Lead record based on the Form Elements’ mapping requirements.
  • Use the Schedule Recommended Event Jobs button on the Blackthorn | Events Admin's Scheduled Jobs tab.

Blackthorn | Events Geocode Service

  • Runs nightly at 10:00 pm.
  • Updates the Venue Address Geocodes field on the Event record based on the Venue’s provided address.
  • Use the Schedule Recommended Event Jobs button on the Blackthorn | Events Admin's Scheduled Jobs tab.

Blackthorn | Event Webinar Account Refresh

  • Apex Class Job: WebinarAccountAuthRefresh
  • Runs daily at 2:00 am.
  • Ensures the webinar account refresh token does not expire.
  • Use the Schedule Recommended Event Jobs button on the Blackthorn | Events Admin's Scheduled Jobs tab.

Blackthorn | Events Recurring Event Generate

  • Runs nightly at 3:00 am.
  • Updates and creates Recurring Events when Recurrence Method = "Keep One Open" or "Auto-Renew".
  • Use the Schedule Recommended Event Jobs button on the Blackthorn | Events Admin's Scheduled Jobs tab.

Blackthorn | Events Status Update

  • Runs nightly at 1:00 am.
  • If there are more than 1,500 active Events, this job updates any Event where the Event End Date is in the past. It unpublishes the Event and updates the Status to "Completed".
  • Use the Schedule Recommended Event Jobs button on the Blackthorn | Events Admin's Scheduled Jobs tab.

Blackthorn | Batch Event Registration Submission

  • Runs every minute.
  • Since this job processes Event Registration Submission (ERS) records in batches, there may be a delay of up to one minute before a record is processed.
  • Use the Schedule Recommended Event Jobs button on the Blackthorn | Events Admin's Scheduled Jobs tab.

Blackthorn | Events Revenue Rollups

  • Once an Event’s Status = “Ended”, the job will run, rolling up Event Item and Event financial summaries.
  • Use the Schedule Recommended Event Jobs button on the Blackthorn | Events Admin's Scheduled Jobs tab.

Blackthorn | Events Cache Refresh

  • This job schedules a cache refresh to run periodically and will refresh the cache to avoid any front-end caching issues.
  • Use the Schedule Event Cache Refresh Job button on the Blackthorn | Events Admin's Scheduled Jobs tab.

Create Webinars for Events

  • Use this job to create webinars for Events with a value in the Webinar/Meeting Account field and no value in the Webinar Meeting URL field.
  • Use the Create Webinars for Events button on the Blackthorn | Events Admin's Batch Jobs tab.

Create Webinars for Sessions

  • Use this job to create webinars for Sessions with a value in the Webinar/Meeting Account field and no value in the Webinar Meeting URL field.
  • Use the Create Webinars for Sessions button on the Blackthorn | Events Admin's Batch Jobs tab.

Blackthorn | Events Attendee Webinar Registration

  • Runs hourly from the time of the original job’s scheduled time.) i.e. If a user schedules the job for 1:15PM, the job will run at 2:15PM, 3:15PM, etc.)
  • Register your Attendees with your webinar provider so your Attendees receive a personalized URL to join the webinar.
  • Use the Register Attendees for Webinars button on the Blackthorn | Events Admin's Batch Jobs tab.
  • Criteria that will trigger the job based on object type.
    • Attendees
      • The Webinar/Meeting Join URL field is blank.
      • The Webinar Registration Failed checkbox is checked.
      • The Registration Status field is set to “Registered”.
      • The Event field is blank.
      • The Attendee’s Event and the Event’s Webinar/Meeting Account fields are blank.
      • The Attendee’s Event and the Event’s Webinar/Meeting ID fields are blank.
      • The Event’s Event End Date is set to today.
    • Session Attendees
      • The Webinar/Meeting Join URL field is blank.
      • The Webinar Registration Failed checkbox is checked.
      • The Registration Status field is set to “Registered”.
      • The Session Attendee’s Attendee and Attendee’s Event fields are blank.
      • The Session’s Webinar/Meeting Account is blank.
      • The Session’s Webinar/Meeting ID field is blank.
      • The Session’s End Date is set to today.

Blackthorn | Events FormSubmission Processing0

  • Runs at the top of each hour (12:00, 1:00, 2:00, etc.)
  • Use the Process Form Submissions button on the Blackthorn | Events Admin's Batch Jobs tab.

Blackthorn | Events FormSubmission Processing53

  • Runs approximately every 5 minutes
  • Use the Process Form Submissions button on the Blackthorn | Events Admin's Batch Jobs tab.

Which time zone does the process use when running a scheduled job?
Per the Salesforce Apex guide, "The `System.schedule` method uses the user's timezone for the basis of all schedules."