Skip to content

Stop

Stops a milestone and marks it as completed.

1
myMilestones.Stop(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 stopped, 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 stopped and returned.

Example

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

See Also