US English (US)
ES Spanish

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Log in
English (US)
US English (US)
ES Spanish
  • Home
  • Help & Support
  • Support
  • Support FAQs
  • FAQ: Session Management

'Apex CPU time limit exceeded' - Failed to process Queueable job for class rio_ed.BK_DoubleBooking_QUEUE

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • RIO Certification
    RIO Certification Program RIO Academy RIO Challenge RIO Recipe Training
  • Releases
    Release Notes
  • Help & Support
    Install RIO Education RIO Insights RIO Recipe Support
  • About Us
    Who is RIO Education? Start Your RIO Journey Housekeeping
  • Experience RIO in action
+ More

Table of Contents

Description Resolution

Description

I have received an error as follows:

Failed to process Queueable job for class rio_ed.BK_DoubleBooking_QUEUE
Caused by: System.LimitException: Apex CPU time limit exceeded

What could be the reason behind this?

 

Resolution

If you are performing updates on Session, Session Time, and Allocation, then, the double booking job (BK_DoubleBooking_QUEUE) is triggered if the updated Allocations meet one of the following criteria:

  • rio_ed__Start__c is changed
  • rio_ed__End__c is changed
  • rio_ed__Resource__c is changed
  • rio_ed__Status__c is changed
  • rio_ed__Status__c equals to “=== WARNING MID UPDATE ===”
  • rio_ed__Status__c equals to "Revalidated"

 

If you need to update the Allocation records, it is recommended to:

  1. Use a smaller batch size in the data loader tool.
  2. Sort the records by Plan Line, Resource and start in order for the double booking job to process the records better.

 

 

 

queue failure

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Why is Session Connection deleted when student withdraws from a Course?
  • Why no Courses showing up in Session Scheduler
  • Restrict facilities from being selected in Session Scheduler
  • Can I add more than one facility to a Session?
RIO Education

RIO Education, a WDCi Company. This information is proprietary, confidential and protected by copyright ©2024.

CONTACT

Get in touch

  • Privacy
  • Terms of service

Knowledge Base Software powered by Helpjuice

Definition by Author

0
0
Expand