---
schema_version: "1"
id: 082c2edc82741a0f615b62cd94b66b053be4462d05df7feb87baa1bdf07c752b
title: ActionPlanTemplateAssignment
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_actionplantemplateassignment.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_actionplantemplateassignment.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 721b3c9b9779b410dd9d1b31baa054eb60dd8d43d8132e6d837a40058c62a5db
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

The ActionPlanTemplateAssignment object and its fields are used by the Key Account Management and the Provider Engagement Compliance feature areas. This topic lists the fields for both features.

## 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.
    
    In Life Sciences Cloud (Medical Management), it is the version of the action plan template.
- **Relationship Name**: ActionPlanTemplateVersion
- **Relationship Type**: Master-Detail
- **Refers To**: ActionPlanTemplateVersion

### AssociatedObjectId

- **Type**: Reference
    
    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.
- **Relationship Name**: AssociatedObject (Life Sciences Cloud - Medical Management)
- **Refers To**: CarePlanTemplate
- **Relationship Type**: Lookup
- **Refers To**
    - Benefit
    - CarePlanTemplate
    - CareProgram
    - GoalDefinition
    - ProblemDefinition
    - Program
    - RegulatoryCode

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