---
schema_version: "1"
id: 9b9681653aadbe9a7c56d8542a036f9c29156705c6c0bebab5c53a9fd075c18d
title: ActionVisibility
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/sforce_api_objects_actionvisibility.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_objects_actionvisibility.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4558c76ab3f36027da3f5b77010026f19a80cc633998448aa0b7a2506d40fa0e
description: This object serves as a junction to connect Account or Contact to other objects so that information in those other object can be used to define visibility rules for actions in the Dynamic Actions for Unified Health Scoring component. This object is available in API version 55.0 and later.
---
# ActionVisibility

This object serves as a junction to connect Account or Contact to other objects so that information in those other object can be used to define visibility rules for actions in the Dynamic Actions for Unified Health Scoring component. This object is available in API version 55.0 and later.

## Supported Calls

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

## Fields

### AccountId

- **Type**: Lookup
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The account record of the subject.
- **Refers To**: Account

### ContactId

- **Type**: Lookup
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The contact record of the subject.
- **Refers To**: Contact

### HealthScoreId

- **Type**: Lookup
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The subject’s score.
- **Refers To**: HealthScore

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The date and time when the record was last referenced.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The date and time when the record was last viewed.

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The name of the record.

### OwnerId

- **Type**: Lookup
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: The owner of the record.
- **Refers To**: Group, User

## Usage

Add custom fields on this object to support the time of visibility logic you have to implement for your actions. Then, use custom triggers and processes to automatically create and reference these records from the subject’s records, and populate the fields in this record with the information relevant to your implementation.

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[ActionVisibilityFeed](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[ActionVisibilityHistory](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.

[ActionVisibilityShare](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.