Skip to content

Cancel

Aborts a milestone.

1
myMilestones.Cancel(name: string):Milestone

Parameters

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

1
var sla1 = $Case.Milestones.Cancel('SLA 1');

See Also