Skip to content

Cancel

Cancels the current milestone.

1
myMilestone.Cancel():Milestone

Returns

The milestone instance.

Examples

Cancel a milestone that no longer applies

1
2
3
4
5
var approval = $Case.Milestones.Get('Approval');

if (approval && approval.Stage === 'InProgress') {
    approval.Cancel();
}

See Also