---
schema_version: "1"
id: dc8f4b331f22b360812594b4bd92fc7db5d40005a5e7103b6d52eedbe62b7bd0
title: AssessmentTaskDefinition
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/sforce_api_objects_assessmenttaskdefinition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/sforce_api_objects_assessmenttaskdefinition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: caf652588e112a4941c4f432284a37db044af49add1c9dd38c1543fc16c52a97
description: Associate an assessment task with an assessment indicator definition. This object is available in API version 48.0 and later.
---
# AssessmentTaskDefinition

Associate an assessment task with an assessment indicator definition. This object is available in API version 48.0 and later.

## Supported Calls

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

## Fields

### Description

- **Type**: textarea
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Description of the assessment task definition.

### 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 most recent date on which a user viewed this record.

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: Unique identification of the task.

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: ID of the assessment Indicator definition record owner.

### TaskType

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Type of a task that the sales rep can perform during the visit.
- **Possible values**:
    - ConductInStoreSurveys
    - InventoryCheck
    - Other
    - PlaceOrder
    - PlanogramCheck
    - PromotionCheck

## Associated Objects

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

- **[AssessmentTaskDefinitionHistory](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/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 the object.

- **[AssessmentTaskDefinitionShare](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/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.

- **[AssessmentTaskDefinitionFeed](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/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 is available for the object.