---
title: "getStatusNameById"
canonical: "https://support.appfire.com/space/PSJC/434962819/getStatusNameById"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Gets the status name by the status id.

Gets the status name by the status id.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getStatusNameById(statusId) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| status id | String | Yes | Id of the status. |

## Return Type

**String**

Returns the status name for the status id provided.

## Example

```javascript
return getStatusNameById("1");
```

## See also

> Macro (contentbylabel)