---
schema_version: "1"
id: 4dba55bd542ec72ca33ed19d9053e00151e7261b80fb4543b9405aa13e572a41
title: MilestoneType
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_milestonetype.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_milestonetype.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b8310c18c03eb90f932a3f8788ac8311fcdac3897a9bbe8b9087eac219afa5bb
description: Represents the name and description of a milestone, which you can use in an entitlement process to track important steps in cases.
---
# 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](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/metadata.htm "The base class for all metadata types. You can’t edit this object. A component is an instance of a metadata type.") 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](#meta_milestonetype "Represents the name and description of a milestone, which you can use in an entitlement process to track important steps in cases.") is available in API version 27.0 and later.

## Fields

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d664730e105">Field Name</th>

              <th class="featureTableHeader  " id="d664730e108">Field Type</th>

              <th class="featureTableHeader  " id="d664730e111">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d664730e105" data-title="Field Name"><span class="keyword parmname">description</span></td>

              <td class="entry" headers="d664730e108" data-title="Field Type">string</td>

              <td class="entry" headers="d664730e111" data-title="Description">The description of the milestone.</td>

            </tr>

            <tr>
              <td class="entry" headers="d664730e105" data-title="Field Name"><span class="keyword parmname" id="recurrenceTypefieldmdapi"><a name="recurrenceTypefieldmdapi"><!-- --></a>RecurrenceType</span></td>

              <td class="entry" headers="d664730e108" data-title="Field Type">
                <samp class="codeph nolang">MilestoneTypeRecurrenceType</samp>
                (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)
              </td>

              <td class="entry" headers="d664730e111" data-title="Description">
                <span class="ph" id="recurrenceTypeFieldmdapiDesc"><a name="recurrenceTypeFieldmdapiDesc"><!-- --></a>The type of recurrence for
                  the milestone.</span> Available in API version 29.0 and later.
                Valid values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">none</samp>—Specifies
                    no recurrence for the milestone. The milestone occurs only
                    one time until the entitlement process exits.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">recursIndependently</samp>—Specifies independent
                    recurrence for the milestone.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">recursChained</samp>—Specifies sequential
                    recurrence for the milestone.
                  </li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

Here’s a sample milestone type.

<?xml version="1.0" encoding="UTF-8"?>
<MilestoneType xmlns="http://soap.sforce.com/2006/04/metadata">
    <description\>First Response Time</description\>
</MilestoneType\>

And, here’s the sample package.xml file that references the MilestoneType component definition:

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types\>
        <members\>\* or a valid name of a milestone type</members\>
        <name\>MilestoneType</name\>
    </types\>
    <version\>29.0</version\>
</Package\>

## Wildcard Support in the Manifest File

This metadata type supports the wildcard character \* (asterisk) in the package.xml manifest file. For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).