---
title: "admGetPrioritiesFromScheme"
canonical: "https://support.appfire.com/space/PSJ/15488820/admGetPrioritiesFromScheme"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admGetPrioritiesFromScheme(prioritySchemeName) | **Package** | adm |
| **Alias** |  | **Pkg Usage** | getPrioritiesFromScheme(prioritySchemeName) |

## Description

> Macro (excerpt)
> 
> Retrieves a list of priorities associated to a priority scheme.

Retrieves a list of priorities associated to a priority scheme.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| prioritySchemeName | string | Yes | The name of the priority scheme. |

## Return Type

**String []**

Returns a list of priority names.

## Example

```
string [] priorities = admGetPrioritiesFromScheme("Test Priority Scheme");
return priorities;
// Blocker|High|Medium|Low|Minor
```

## See also

> Macro (contentbylabel)