---
schema_version: "1"
id: 1bfcb1b315d27fc02c35d2bb51217cbe295b45c4eeac75c4712fee1531cdcd25
title: OrgMetricScanResult
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_orgmetricscanresult.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_orgmetricscanresult.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: dd27e260c29e5cc24ca5115a1feea848c310e64ead8299f157ce9ecb750eeacd
description: Represents data or an item associated with a feature’s results in a Salesforce Optimizer evaluation. For example, for the Custom Field Limit feature, an OrgMetricScanResult object represents an object flagged for approaching the custom field limit. This object is available in API version 47.0 and later.
---
# OrgMetricScanResult

Represents data or an item associated with a feature’s results in a Salesforce Optimizer evaluation. For example, for the Custom Field Limit feature, an OrgMetricScanResult object represents an object flagged for approaching the custom field limit. This object is available in API version 47.0 and later.

## Supported Calls

create(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), upsert()

## Special Access Rules

This object is only available in orgs where Salesforce Optimizer is enabled. Requires the Modify All Data and Customize Application user permissions.

## Fields

| Field | Details |
| --- | --- |
| Date | 
Type

dateTime

Properties

Create, Filter, Nillable, Sort

Description

The date associated with an item in a feature’s Optimizer evaluation.

Example

For the Unsupported Browsers feature, Date indicates the date that the user last logged in with an unsupported browser.



 |
| Flags | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort

Description

The flags associated with an item in a feature’s Optimizer evaluation.

Example

For the API Versions feature, Flags indicates the API version of an object that Optimizer evaluates as outdated.



 |
| ItemStatus | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Sort

Description

The recommended action for an item in a feature’s Optimizer evaluation.

Possible values are:

- Action Required
- Immediate Action Required
- No Action Required
- Not Currently Enabled
- Review Required
- Unable to Analyze

The default value is No Action Required.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort

Description

The name of the item in a feature’s Optimizer evaluation, such as an object name.

Example

For the Unassigned Roles feature, Name refers to the name of the unassigned role.



 |
| Object | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort

Description

The object ID associated with the item in a feature’s Optimizer evaluation.

For the Release Update feature only, Object indicates the release that the update is scheduled for.

Example

For the Unused Reports feature, Object refers to the ID of the unused report.



 |
| OrgMetricScanSummaryId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The feature’s OrgMetricScanSummary ID from the most recent Optimizer run.

This field is a relationship field.

Relationship Name

OrgMetricScanSummary

Relationship Type

Master-detail

Refers To

[OrgMetricScanSummary](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_orgmetricscansummary.htm "Represents the results summary for a specific feature in a Salesforce Optimizer evaluation. This object is available in API version 47.0 and later.") (the master object)



 |
| Profile | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort

Description

The profile ID associated with the item in a feature’s Optimizer evaluation.



 |
| Quantity | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort

Description

A quantity associated with the item in a feature’s Optimizer evaluation.

Example

For the Custom Field Limits feature, Quantity indicates the total number of fields on an object that approaches the custom field limit.



 |
| Type | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort

Description

The type of item or data in a feature’s Optimizer evaluation.

Example

For the Unsupported Browsers feature, Type indicates the unsupported browser and platform used.



 |
| Url | 

Type

url

Properties

Create, Filter, Group, Nillable, Sort

Description

The URL associated with the item in a feature’s Optimizer evaluation.

Example

For the Unassigned Page Layouts feature, the URL represents a link to the unassigned layout.



 |
| User | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort

Description

The user ID or username associated with the item in a feature’s Optimizer evaluation. For the Release Update feature only, User indicates the name of the release update that requires review.

Example

For the User Logins feature, User indicates the username of a user who hasn’t recently logged in.



 |

#### See Also

- [_Salesforce Help_: Improve Your Implementation with Salesforce Optimizer](https://help.salesforce.com/s/articleView?id=xcloud.optimizer_introduction.htm&type=5&language=en_US "Salesforce Help: Improve Your Implementation with
    Salesforce Optimizer - HTML (New Window)")