Orgs existing prior to Summer ’23 can enable Enhanced Scheduling and Optimization for all
or selected service territories. Enhanced Scheduling and Optimization is backward compatible so
your existing implementations remain in place after you enable it.
Required Editions
| Available in: Available in Lightning Experience and Salesforce Classic in these
editions where Field Service is enabled: Enterprise, Unlimited, and
Developer Editions
|
If you’re scheduling work using Queueable Apex, use the Database.AllowsCallouts annotation for
the Enhanced Scheduling and Optimization engine. If you don’t include this annotation, the
request causes an exception. See Queueable Apex: More Than an
@future.
Enhanced Scheduling and Optimization uses processes and information that aren’t locally primed.
A callout is used to trigger a requested service and retrieve information. If DML occurs before
the callout, it causes an exception, for example, an uncommitted work pending error. To avoid an
exception, ensure that DML is completed in a separate DML transaction.