Overview
Aborts a milestone.Milestone myMilestones.Cancel(name: string)
Arguments
string name
Name of milestone. Required.
Returns
Instance of milestone if found, otherwise null.Remarks
Once a milestone cancelled cannot be started again, if required use Milestones.Add to create a new milestone.
In case of multiple milestones with the same name, only the In Progress milestone will be cancelled and returned. *
Example
var sla1 = $Case.Milestones.Cancel('SLA 1');