Skip to content

Stop

Stops a milestone and marks as completed.

1
myMilestones.Stop(name: string):Milestone

Parameters

string name
    Name of milestone. Required.

Returns

Instance of milestone if found, otherwise null.

Remarks

Once a milestone stopped cannot be start again, if required Milestones.Add must be used to create a new milestone.
In case of multiple milestones with the same name, only the InProgress milestone will be stopped and returns.

Example

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

See Also