Skip to content

Milestones

Represents a list of milestones associated with a case. Milestones are used to track events and measure progress against time-based goals, such as SLAs or KPIs.

Milestones are identified and referenced by their name, and multiple milestones can be defined for a single case.

Use Milestones.Add to create a new milestone. Milestones start automatically upon creation. Use Milestones.Pause and Milestones.Resume to temporarily pause and resume milestones. Mark a milestone as completed with Milestones.Stop or cancel it with Milestones.Cancel.

Capabilities

Management and Retrieval

  • Milestones.Add: Adds a new milestone to the list and starts it immediately.
  • Milestones.AddFrom: Adds a new milestone to the list and starts it immediately, using a specified start date and time.
  • Milestones.Get: Gets a milestone by its name.
  • Milestones.Start: Restarts a milestone if it already exists; otherwise, creates a new milestone with the specified name and starts it immediately.
  • Milestones.ToArray: Returns all defined milestones.

Lifecycle Control