---
schema_version: "1"
id: 050c8e51b478c6755dd4823e85f66c9b3ff7accd3c2510ccaa998274f0dabf84
title: ActionPlanTemplateAssignment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/sforce_api_objects_actionplantemplateassignment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_objects_actionplantemplateassignment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 55c6a0f51f5f1d9e4689f2df64951af5ec149225c1b3af7085d71d240ed476c5
description: Represents the association of an action plan template with its related care plan template, goal, or problem definition. When instantiated, the action plan generates the corresponding intervention tasks and links them to the appropriate record, such as a condition, goal, or care plan.
---
# ActionPlanTemplateAssignment

Represents the association of an action plan template with its related care plan template, goal, or problem definition. When instantiated, the action plan generates the corresponding intervention tasks and links them to the appropriate record, such as a condition, goal, or care plan.

## Special Access Rules

In Health Cloud, this object is available in API version 56.0 and later.

## Supported Calls

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

## Fields

### ActionPlanTemplateVersionId

- **Type**: Reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: Action plan template that’s mapped to a problem defintion, goal definition, or care plan template. This field is a relationship field.
- **Relationship Name**: ActionPlanTemplateVersion
- **Relationship Type**: Master-Detail
- **Refers To**: ActionPlanTemplateVersion

### AssociatedObjectId

- **Type**:
    
    Polymorphic lookup
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The object to which the action plan template is associated. For example: a problem definition, goal definition, or care plan template, associated with an action plan template.
- **Refers To**: CarePlanTemplate
- **Relationship Type**: Lookup
- **Refers To**
    - CarePlanTemplate
    - GoalDefinition
    - ProblemDefinition

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user referenced this record.

### 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 action plan template assignment record.

## 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.

[ActionPlanTemplateAssignmentFeed](https://developer.salesforce.com/docs/atlas.en-us.264.0.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_feed.htm "HTML (New Window)")

Feed tracking is available for the object.

[ActionPlanTemplateAssignmentHistory](https://developer.salesforce.com/docs/atlas.en-us.264.0.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_history.htm "HTML (New Window)")

History is available for tracked fields of the object.