LogoLogo
Maica's Homepage
Admin Guide
Admin Guide
  • Welcome to Maica Administration
  • Getting Started
    • Check your Salesforce Hosting
    • Licence Agreement
    • The Maica Release Process
    • Find your Maica Edition
    • The Implementation Process
  • Data
    • Data Objects
      • Agreement Item
      • Appointment
      • Availability
      • Booking Item
      • Checklist
      • Client Note
      • Connection
      • Contact
      • Delivery Activity
      • Funding
      • Funding Item
      • Invoice
      • Invoice Line Item
      • Location
      • Log
      • Payment Request
      • Preference
      • Price List
      • Price List Entry
      • Resource
      • Resource Participant
      • Service Agreement
      • Service Agreement Leave
      • Service Agreement Statement
      • Service Booking
      • Shift
      • Support Category
      • Support Item
      • Timesheet
      • Timesheet Entry
      • Unavailability
    • Permission Sets
    • Reference Data
      • Reference Data Template
      • Import Template
    • Data Import Utility
      • NDIS Support Catalogue
      • Data Import Flows
  • System Processes
    • Billing Invoice Generation
    • Timesheet Generation
    • Recurring Schedules
    • Travel Claiming and Expenses
    • Public Holiday Configuration
    • Configuring Maica Components
      • Appointment Services
      • Support Items
      • Support Categories
      • Overnight and 24 Hour Availability
  • Enable Maica Actions
  • Scheduled Jobs
  • Maica Timezone Management
  • Integrations
    • Create a Site
    • Xero Integration
      • Support Item Configuration
    • Stripe Integration
    • NDIS Notifications
  • Settings
    • Renewal Management
    • Claim Management
      • NDIS
        • Handle BPR Results & Remittance Files
        • BPR File Import Flows
      • Aged Care
    • Invoice Management
    • Support Item Management
    • Integration Management
      • NDIS Integration
      • Stripe Integration
      • Xero Integration
    • Connections Management
      • General Settings
      • Reciprocal Settings
    • General Settings
    • Planner Management
    • Rostering Management
    • Service Management
    • Timesheet Management
    • Validation Management
    • Travel Management
    • Billing Management
    • Maps Management
    • Participant Notes
Powered by GitBook

Further Maica Resources

  • Homepage
  • Features
  • FAQs
On this page
  • What are Scheduled Jobs?
  • What are the Scheduled Jobs in Maica?
  • Create Invoice Line Items
  • Manage Recurring Shifts
  • Manage Recurring Appointments
  • Manage Recurring Unavailabilities
  • Creates Renewals
  • PRODA Device Keys Expiration Management
  • PRODA Device Keys Activation Reminder
  • Manage Funding Item Include Attribute

Was this helpful?

Export as PDF

Scheduled Jobs

This article provides an overview of the scheduled jobs in Maica

PreviousEnable Maica ActionsNextMaica Timezone Management

Last updated 13 days ago

Was this helpful?

What are Scheduled Jobs?

Scheduled jobs in Salesforce are automated processes that run to execute background tasks such as data updates, record processing, and system maintenance. These jobs help reduce manual workload by handling repetitive operations, ensuring that key business processes continue to function without user intervention.

What are the Scheduled Jobs in Maica?

In Maica, scheduled jobs automate system processes. These jobs ensure data integrity, improve operational efficiency, and help keep the system running smoothly.

Below are all the Scheduled Jobs within Maica and their descriptions:

Create Invoice Line Items

Job Details

Purpose:

This job executes the Billing Flow and automates the creation of Invoice Line Items for Delivery Activities marked for billing.

Description:

Retrieves Delivery Activity record WHERE:

  • Billing_Status__c = 'Requested'

  • Invoice_Line_Item__c = NULL

and then disables the InvoiceLineRollupExpenditure_MDTM Trigger Handler on the Agreement Item object that calculates rollup fields related to Invoice Line Items.

It does so to avoid UNABLE_TO_LOCK_ROW system errors.

Then, the job will execute the Billing Flow selected in the that creates Invoice Line Items related to the Delivery Activity. At the end of the Scheduled Job, it updates relevant Agreement Items to trigger the rollup calculation logic.

Manage Recurring Shifts

Job Details

Purpose:

This job automates the scheduling of recurring Shifts. It ensures that Master Shifts are replicated according to set rules while avoiding conflicts with completed or cancelled shifts. The job also applies availability checks if validation settings are enabled, ensuring that only available Resources are assigned.

Description:

Retrieves Schedule records WHERE:

  • Under_Evaluation__c = TRUE

  • Status__c = 'Approved'

  • Master_Appointment__r.Status__c != 'Cancelled'

  • Master_Appointment__r.RecordType != 'Shift'

For each Schedule Record, the Job will determine the anchor date, which can either be the last Original Schedule Start, or, Schedule Start. The anchor date cannot be prior to today. Once specified, the Job creates Scheduled Shifts which are clones of Master Shifts with related Delivery Activities and Appointment Resources up until the Horizon determined in the . It is important to note that the Job does not fill up the dates where there is a Shift with a Completed or Cancelled status on a date within the Schedule. Additionally, the Status for each Record is being determined via the Settings. Maica will default the Status to Scheduled, but you can change this to suit your preference. If the Enforce Availability for Appointment Setting under is enabled, the Job will perform the same Validation as a user would creating the Appointment manually, hence, if Resources are Unavailable they will not be copied across to the newly created Shifts. Note: The Original Schedule Start field stores the value of the Schedule Start field when it is changed for the first time after it has been created.

Manage Recurring Appointments

Job Details

Purpose:

This job automates the scheduling of recurring Appointments. It ensures that Master Appointments are replicated according to set rules while avoiding conflicts with completed or cancelled shifts. The job also applies availability checks if validation settings are enabled, ensuring that only available Resources are assigned.

Description:

Retrieves Schedule records WHERE:

  • Under_Evaluation__c = TRUE

  • Status__c = 'Approved'

  • Master_Appointment__r.Status__c != 'Cancelled'

  • Master_Appointment__r.RecordType != 'Appointment'

Manage Recurring Unavailabilities

Job Details

Purpose:

This job automates the scheduling of recurring Unavailabilities by cloning Master Unavailability. It ensures that new unavailability records are created based on the anchor date while adhering to validation settings. The job also prevents creation of back-dated Unavailability records and maintains scheduling accuracy by setting default statuses according to setting configuration.

Description:

Retrieves Unavailability records to clone for Schedule record WHERE:

  • Under_Evaluation__c = TRUE

  • Status__c = 'Approved'

  • Master_Unavailability__c != NULL

Creates Renewals

Job Details

Purpose:

When the criteria below is met, the job will close Service Agreement and related Agreement Item records to create a new Service Agreement for Participants. That Start and End Date will be populated based on the values saved in the Renewal Management Settings.

Description:

Retrieves Service Agreement records to clone where:

  • Auto_Renewal__c = TRUE

  • End_Date__c >= :(TODAY - Days_Prior_Agreement_End_Date__c)

  • Clones Service Agreements and Agreement Items

PRODA Device Keys Expiration Management

Job Details

Description:

Refreshes PRODA device keys if they are less than two days away from their expiry date.

PRODA Device Keys Activation Reminder

Job Details

Description:

Sends reminder email when 30 days before expire and every day 7 days before expire

Manage Funding Item Include Attribute

Job Details

Description:

This job ensures that the Include checkbox on Funding Item records is correctly maintained, determining whether each item should be included in rollup calculations to the parent Funding record.

For each Schedule Record, the Job will determine the anchor date, which can either be the last Original Schedule Start, or, Schedule Start. The anchor date cannot be prior to today. Once specified, the Job creates Scheduled Appointments which are clones of Master Appointments with related Delivery Activities and Appointment Resources up until the Horizon determined in the . It is important to note that the Job does not fill up the dates where there is an Appointment with a Completed or Cancelled status on a date within the Schedule. Additionally, the Status for each Record is being determined via the Settings. Maica will default the Status to Scheduled, but you can change this to suit your preference. If the Enforce Availability for Appointment Setting under is enabled, the Job will perform the same Validation as a user would creating the Appointment manually, hence, if Resources are Unavailable they will not be copied across to the newly created Appointments. Note: The Original Schedule Start field stores the value of the Schedule Start field when it is changed for the first time after it has been created.

For each Schedule Record, the Job will determine the anchor date (either the last Original Unavailable From, or, Unavailable From). The anchor date cannot be prior to today. Once the anchor date is specified, the Job creates Unavailabilities which are clones of Master Unavailability up until the Horizon determined in the . The Status for each Record is being determined via the Settings. Maica will default the Status to Submitted, but you can change this to suit your preference. Note: The Original Unavailable From field stores the value of the Unavailable From field when it is changed for the first time after it has been created.

Billing Management Settings
General Settings
Service Management
Validation Management
General Settings
Service Management
Validation Management
General Settings
Validation Management