Newer Version Available
MilestoneType
Represents the name and description of a milestone, which you can use in an entitlement process to track important steps in cases. This type extends the Metadata metadata type and inherits its fullName field.
File Suffix and Directory Location
Milestone types are stored in the milestoneTypes directory of the corresponding package directory. The extension is .milestoneType.
Version
MilestoneType is available in API version 27.0 and later.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| description | string | The description of the milestone. |
| RecurrenceType | MilestoneTypeRecurrenceType (enumeration of type string) |
The type of recurrence
for the milestone. Available in API version
29.0 and later. Valid values are:
|
Declarative Metadata Sample Definition
This is a sample milestone type.
1<?xml version="1.0" encoding="UTF-8"?>
2<MilestoneType xmlns="http://soap.sforce.com/2006/04/metadata">
3 <description>First Response Time</description>
4</MilestoneType>And, here’s the sample package.xml file that references the MilestoneType component definition:
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>* or a valid name of a milestone type</members>
5 <name>MilestoneType</name>
6 </types>
7 <version>29.0</version>
8</Package>