---
schema_version: "1"
id: 2aa93141ef675b0940dc3696591ceba55d2ce9bec8252b44cb34834dfa23f753
title: TaskPriority
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_taskpriority.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_taskpriority.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9fd83bd1d43f3709fcf681f85d2e78a4641277d75edecc3b4658ec405b924552
description: Represents the importance or urgency of a task, such as High, Normal, or Low.
---
# TaskPriority

Represents the importance or urgency of a task, such as High, Normal, or Low.

![Important](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## Supported Calls

describeSObjects(), query(), retrieve()

## Special Access Rules

Customer and Partner Portal users can’t access this object.

## Fields

| Field | Details |
| --- | --- |
| ApiName | 
Type

string

Properties

Filter, Group, idLookup, Sort

Description

Uniquely identifies a picklist value so it can be retrieved without using an ID or master label.



 |
| IsDefault | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether the status is the default task priority value (true) or not (false) in the picklist. Only one value in the picklist can be the default value.



 |
| IsHighPriority | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether this task priority value represents a high priority task (true) or not (false). Multiple task priority values can represent a high-priority task.



 |
| MasterLabel | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Master label for this task priority value. This display value is the internal label that doesn’t get translated. Limit: 255 characters.



 |
| SortOrder | 

Type

int

Properties

Filter, Nillable, Group, Sort

Description

Number used to sort this value in the task priority picklist. These numbers aren’t guaranteed to be sequential, as some previous task priority values might have been deleted.



 |

## Usage

This object represents a value in the task priority picklist. The task priority picklist provides additional information about the importance of a task , such as whether a given priority value represents a high priority. Your client application can query on this object to retrieve the set of values in the task priority picklist, and then use that information while processing task objects to determine more information about a given task. For example, the application could test whether a given task is high priority based on its Priority value and the value of the IsHighPriority field in the associated TaskPriority object.

#### See Also

- [Overview of Salesforce Objects and Fields](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_concepts.htm "Salesforce objects and fields are analogous to database tables and the table columns. Objects and fields structure data. For example, the central object in the Salesforce data model represents accounts—companies and organizations involved with your business, such as customers, partners, and competitors.")