Skip to content

Cancel

Cancels (aborts) a milestone.

1
myMilestones.Cancel(name: string):Milestone

Parameters

string name
    The name of the milestone. Required.

Returns

The Milestone instance if found; otherwise, null.

Remarks

Once a milestone has been cancelled, it cannot be started again. If needed, use Milestones.Add to create a new milestone.
If multiple milestones share the same name, only the milestone that is currently in progress will be cancelled and returned.

Example

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

See Also