...
Milestone myMilestones.Cancel(name: string)
Arguments
string name
Name of milestone. Required.
Returns
...
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
Code Block | ||
---|---|---|
| ||
var sla1 = $Case.Milestones.Cancel('SLA 1'); |