Overview
Stops a milestone and marks as completed.Milestone myMilestones.Stop(name: string)
Arguments
string name
Name of milestone. Required.
Returns
Instance of milestone if found, otherwise null.Remarks
Once a milestone stopped cannot be start again, if required Milestones.Add must be used to create a new milestone.
In case of multiple milestones with the same name, only the InProgress milestone will be stopped and returns.
Example
var sla1 = $Case.Milestones.Stop('SLA 1');