Enable Automatic Completion of Case Milestones.
Develop an Apex trigger to automatically designate milestones as “Completed” for cases that meet specific distinctive conditions. Within the trigger, specify the events and relevant case criteria that must be met for a milestone to be marked as “Completed.” A similar trigger can be implemented to automatically complete milestones for work orders. TIP In Lightning Experience, …