---
schema_version: "1"
id: cc8aaa24459b44605c1097ebf9b04209e4ada8fca6878ccbcc0fa17d0bf6bc9d
title: ActionPlanTemplateVersion
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_actionplantemplateversion.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_actionplantemplateversion.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2c08ef049f2d1f257f631ff8a5277eca2f286103a7020c27d79fa42d825181db
description: Represents the version of an action plan template. This object is available in API version 44.0 and later.
---
# ActionPlanTemplateVersion

Represents the version of an action plan template. This object is available in API version 44.0 and later.

## Supported Calls

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

## Fields

| Field Name | Details |
| --- | --- |
| ActionPlanTemplateId | 
Type

reference

Properties

Create, Filter, Group, Sort, Group

Description

The ID of the action plan template this version represents.





 |
| ActivationDateTime | 

Type

dateTime

Properties

Create, Filter, Nillable, Sort,

Description

The date and time at which this version became active.





 |
| InactivationDateTime | 

Type

dateTime

Properties

Create, Filter, Nillable, Sort

Description

The date and time at which this version became inactive.





 |
| IsLocked | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether this action plan template version is locked or not. The default value is false.





 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort, , Sort

Description

The most recent date on which a user referenced this record.





 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The most recent date on which a user viewed this record.





 |
| MayEdit | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether this action plan template version can be edited. The default value is false.





 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update,

Description

The name of this version item.





 |
| Status | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update

Description

The action plan template version’s state. Possible values are:

- Draft
- Final – Published
- Obsolete
- ReadOnly





 |
| Version | 

Type

int

Properties

Create, Defaulted on create, Filter, Group, Sort

Description

The index number of this action plan template version.





 |

## Associated Objects

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

[ActionPlanTemplateVersionChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm)

Change events are available for the object.

[ActionPlanTemplateVersionFeed](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm)

Feed tracking is available for the object.

[ActionPlanTemplateVersionHistory](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm)

History is available for tracked fields of the object.

[ActionPlanTemplateVersionOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm)

Sharing rules are available for the object.

[ActionPlanTemplateVersionShare](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm)

Sharing is available for the object.