---
schema_version: "1"
id: a4eac27d8a7e6a8651a837c36e9e342149e741000634022b38640a54876d7954
title: WorkloadUnit
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_workloadunit.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_workloadunit.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ff09a61449ec84741206cc899a299dc3e135c912909ec679910cd1184756d1a4
description: Represents the number of work items and average handle time in a specific time interval. This object is available in API version 49.0 and later.
---
# WorkloadUnit

Represents the number of work items and average handle time in a specific time interval. This object is available in API version 49.0 and later.

## Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Special Access Rules

The org must have a Workforce Engagement license. To view, create, edit, and delete records, the user must have the Workforce Engagement Analyst permission set.

## Fields

| Field | Details |
| --- | --- |
| AverageHandleTime | 
Type

double

Properties

Filter, Nillable, Sort

Description

The average handle time at a specific period of time.



 |
| Channel | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The channel value.



 |
| CustomWorkType | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The derived field of WorkDemographic.CustomWorkType for the custom dimension value.



 |
| DateTime | 

Type

dateTime

Properties

Create, Filter, Sort, Update

Description

The timestamp of the single data point in the time series of the workload.



 |
| IsOmni | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Derived from isOmni field in workload. Indicates that the workload is Omni-based

The default value is 'false'.



 |
| MeasureUnit | 

Type

string

Properties

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

Description

The time interval (in minutes) used in the workload.

Possible values are:

- 43200—Monthly. Reserved for future use.
- 10080—Weekly
- 1440—Daily
- 60—Hourly
- 30—30 minutes. Reserved for future use.
- 15—15 minutes. Reserved for future use.

The default value is '1440'.



 |
| Region | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The derived field from WorkDemographic.Region for the region value.



 |
| SkillSet | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The derived field from WorkDemographic.SkillSet for the skill value.



 |
| TotalCount | 

Type

int

Properties

Create, Filter, Group, Sort

Description

The total number work items at a specific period of time.



 |
| WorkDemographicId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The foreign key to the WorkDemographic object.

This is a relationship field.

Relationship Name

WorkDemographic

Relationship Type

Lookup

Refers To

WorkDemographic



 |
| WorkloadId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The foreign key to the Workload object.

This is a relationship field.

Relationship Name

Workload

Relationship Type

Lookup

Refers To

Workload



 |
| WorkloadType | 

Type

picklist

Properties

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

Description

The derived field from Workload.WorkloadType to indicate the type of workload, for example, a history or forecast workload.

Possible values are:

- F—Forecasted
- H—Historical

The default value is 'H'.



 |