Loading
Salesforce Help 사이트 “Help Agent powered by Fin” 도입 안내더 많이 읽기
Tableau 고객 대상: Tableau를 이용하는 고객이 Help 사이트에서 사례(케이스)를 등록할 수 없는 경우의 대체 수단더 많이 읽기
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Proactive Alert Monitoring: Apex Future & Queueable Performance

게시 일자: Jul 23, 2025
상세 설명

Apex Future & Queueable methods are leveraged to execute Asynchronous Apex processes that will run in the background at a later time once resources become available. As asynchronous processes have no SLA, poorly implemented Future or Queueable methods can cause performance issues if they become stuck in the queue or run very long.

The Signature Success plan's Proactive Monitoring product will monitor fand alert you to high consumption against these metrics if you organization has Signature Success Plan . This article outlines some scenarios to help you investigate should you receive an alert. In addition, on the Salesforce Help site Designated contacts and above can see your realtime metrics, alerts & more.

If you receive one of the following error messages, your organization may experience performance issues and possible service disruptions:

  • Unable to process request. System.QueryException
  • Unable to process request. System.LimitException
  • Apex CPU time limit exceeded
  • Too many SOQL queries: 201
  • REQUEST_RUNNING_TOO_LONG


Causes

Jobs that run long or error may often be caused by one or many of the following:

  • Inefficient Apex
  • Inefficient SOQL queries
  • Unhandled Exceptions
솔루션

Here are some common practices & resources that may help to resolve this error.
 

Inefficient Apex

  • Always code with Asynchronous Apex processing in mind, and reference our Future Methods and Queuable Apex documentation for best practices.
    • Always be mindful of governor limits, you can find a list Apex Governor Limits here.
 

Inefficient SOQL queries

  • Use the Query Plan Tool to validate and optimize performance to avoid breaching governor limits.
 

Unhandled Exceptions

  • Apex Future and Apex Queueable jobs can fail if exceptions aren’t caught correctly.
  • Please be aware that Governor Limit breaches cannot be caught in Apex, so please ensure your code is optimized and tested thoroughly before deploying to production.
    • You can find a list of Apex Governor Limits here.


Additional Resources


Help and Developer Resources:
Useful Trails
Knowledge 기사 번호

000384151

 
로드 중
Salesforce Help | Article