ImBlaze Web Portal>ImBlaze Configuration > STEP 7
There are certain actions or tasks that need to happen automatically at specific times for ImBlaze. For example, you might want to send out a reminder for students to check-in regularly, send out emails to mentors at specific intervals. These are handled by configuring Scheduled Jobs in Salesforce. Some of these jobs need to be scheduled via executing a script while others can be scheduled via the Salesforce Set Up.
Scheduled jobs manage the expiration of internship requests and the notifications to mentors for attendance verifications. These jobs can be configured via the Salesforce UI.
This job manages the expiration of Internship Requests on their expiration date and subsequently makes the corresponding Internship available for students. Here are the steps to schedule this job:
Go to Setup
Search Apex Classes in Quick Find Box.
Click on Schedule Apex button.
Enter the Job Name. Choose a name to indicate the purpose of the Job ( for eg: ImBlaze Expire Internship Requests)
Search the Apex class by Class name. Search for Class ExpireInternshipRequestBatchable.
Select the Frequency 'Weekly'.
Select the Day of the week. Select all days of the week.
Select the Start Date.
Select the End Date (Select a Date in the future e.g 01/01/2050)
Select the Preferred Start Time.
Click on Save.
The job is designed to send automatic emails to mentors to assist with the verification of attendance for internships. If a mentor supervises more than one active student, the email notification includes a link that allows the mentor to verify the attendance of all their students. Therefore, it would be best to schedule this job during a period when most students are expected to have checked out.
Go to Setup
Search Apex Classes in Quick Find Box.
Click on Schedule Apex button.
Enter the Job Name. Choose a name to indicate the purpose of the Job ( for eg: ImBlaze Mentor Verification)
Search the Apex class by Class name. Search for Class MentorVerificationBatch_Scheduler.
Select the Frequency 'Weekly'.
Select the Day of the week. Select all working days.
Select the Start Date.
Select the End Date (Select a Date in the future e.g 01/01/2050)
Select the Preferred Start Time- Opt for a time when it's likely all students have already completed their day's checkout process.
11. Click Save.
This job automatically sends emails to mentors to facilitate attendance verification for projects. This is typically scheduled once a week.
Go to Setup
Search Apex Classes in Quick Find Box.
Click on Schedule Apex button.
Enter the Job Name. Choose a name to indicate the purpose of the Job ( for eg: ImBlaze Mentor Project Verification)
Search the Apex class by Class name. Search for Class SchedulableMentorProjectVerification
Select the Frequency 'Weekly'.
Select the Day of the week - Friday
Select the Start Date.
Select the End Date (Select a Date in the future e.g 01/01/2050)
Select the Preferred Start Time. ( eg: 5 PM) - Choose a time when you believe all students have finished their checkout process for the week.
11. Click Save.
This job is used to update the Internship Schedule records to fix the time zone as per DST settings.
Go to Setup
Search Apex Classes in Quick Find Box.
Click on Schedule Apex button.
Enter the Job Name. Choose a name to indicate the purpose of the Job ( for eg: ImBlaze Notification Scheduler Offset Update)
Search the Apex class by Class name. Search for Class IMB_NotificationSchedulerOffsetUpdate.
Select the Frequency 'Weekly'.
Select the Day of the week. Select all days of the week.
Select the Start Date.
Select the End Date (Select a Date in the future e.g 01/01/2050)
Select the Preferred Start Time.