function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Matyas CsabaMatyas Csaba 

Field Service Appointment optimization by Code

Hello Helper

I  wonder if  there is possibe to call the ServiceAppointment Optimization job from apex?
As i read in the specs  the optimization can be initiated from the UI  clicking a  button.

I  would like  to investigate the option to call the optimization job  from an apex class
AbhishekAbhishek (Salesforce Developers) 

I don't think it is possible right now.

You can raise an Idea in IdeaExchange, Based on the Votes it can be implemented in the future.

I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.