---
schema_version: "1"
id: c102a19b4e9b74346af05fd8b9e3e79fc4706b41424d5c24300b92a39a5aa031
title: WorkStepStatus
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_workstepstatus.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_workstepstatus.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ce263da5fa8f63ed44f641cfdf8ee9608630f8d288908a25476198a1763dc004
description: Represents a picklist for a status category on a work step. This object is available in API version 52.0 and later.
---
# WorkStepStatus

Represents a picklist for a status category on a work step. This object is available in API version 52.0 and later.

## Supported Calls

describeSObjects(), query(), retrieve()

## Special Access Rules

Field Service must be enabled.

## Fields

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

string

Properties

Filter, Group, idLookup, Sort

Description

Required. The name of the work step status.



 |
| IsDefault | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Controls whether this status is the default value of the picklist of the corresponding status category (true) or not (false). Default is false.



 |
| MasterLabel | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Required. The label of the work step status.



 |
| SortOrder | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

Required. The order in which the work step statuses are displayed in the status category's picklist.



 |
| StatusCode | 

Type

picklist

Properties

Required. Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort

Description

The status category that this status belongs to.

Possible values are:

- Completed
- InProgress
- New
- NotApplicable
- Paused





 |