Happy Business Starts Here

Guru

FATAL_ERROR System.LimitException: zqu:Too many queueable jobs added to the queue: 2

FATAL_ERROR|System.LimitException: zqu:Too many queueable jobs added to the queue: 2

Class.zqu.zQuoteUtilHelper.updateQuoteRelatedObjectOwner: line 2493, column 1
Class.zqu.QuoteObjectManager.updateRelatedObjectOwner: line 138, column 1
Class.zqu.QuoteObjectManager.afterUpdate: line 115, column 1
Class.zqu.ObjectManager.processLifeCycleEvents: line 29, column 1
Trigger.zqu.QuoteTrigger: line 23, column 1

I am receiving this error from the Zuora code in Salesforce.

 

How can I turn off this trigger or work around this bug?

 

Is this a known bug?

 

@doyeli 

Maggie Longshore
2 REPLIES 2
Support SME

Re: FATAL_ERROR System.LimitException: zqu:Too many queueable jobs added to the queue: 2

Hi @MaggieL could you please let me know when exactly you are getting this error? I mean what flow you are running in ZQuote that is throwing this error?

 

This is line 2493 from zQuoteUtilHelper class

 

Class.zqu.zQuoteUtilHelper.updateQuoteRelatedObjectOwner: line 2493, column 1

// Update QuoteProductFeature__c's owner field
System.enqueueJob(new UpdateQuoteRelatedObjectOwnerJob(quotes, 'QuoteProductFeature__c', 'Quote__c'));
}

 

Thank you

Doyeli






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Guru

Re: FATAL_ERROR System.LimitException: zqu:Too many queueable jobs added to the queue: 2

I have a batch job of size 1 that takes a quote and updates a fiew fields on it.

Saves the quote. (!!! exception here)

Queues a job for further processing.

Maggie Longshore