---
schema_version: "1"
id: 0f5350c3b968f51f4f90102ff49651b9027abc0f7eeb69f4bf82c33b1e647447
title: CarePgmEnrolleeWkOrdStep
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/sforce_api_objects_carepgmenrolleewkordstep.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_objects_carepgmenrolleewkordstep.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 456aef0f0306784b3742f1dad5fbd969b073c0ca52a73d3146ade375c3d9ba4c
description: Represents information about the step in a work order that's executed for the care program enrollee. This object is available in API version 58.0 and later.
---
# CarePgmEnrolleeWkOrdStep

Represents information about the step in a work order that's executed for the care program enrollee. This object is available in API version 58.0 and later.

## Supported Calls

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

## Fields

### ActionPlanTemplateId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Represents the action plan template containing the tasks related to each work order step.
    
    This field is a relationship field.
- **Relationship Name**: ActionPlanTemplate
- **Relationship Type**: Lookup
- **Refers To**: ActionPlanTemplate

### AreAllTasksCompleted

- **Type**: boolean
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: Determine whether all the child tasks for the step are completed (true) or not (false).
- **Default value**: false

### EndDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Represents the end date and time for the execution of the work order step.

### IsCustodyCompleted

- **Type**: boolean
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: Determine whether all the custody chain entries for the step and the related tasks are completed (true) or not (false).
- **Default value**: false

### LastReferencedDate

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

### LastViewedDate

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

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: Represents the name of the step associated with the care program enrollee work order record.

### ParentEnrolleeWorkOrderId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: Represents the parent work order of the care program enrollee that's associated with the step.
    
    This field is a relationship field.
- **Relationship Name**: ParentEnrolleeWorkOrder
- **Relationship Type**: Master-Detail
- **Refers To**: CarePgmEnrolleeWorkOrder

### SequenceNumber

- **Type**: int
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: Represents the sequence in which the work order step will be executed.

### StartDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Represents the start date and time for the execution of the work order step.

### Status

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Specifies the execution status of the work order step.
- **Possible values**:
    - Canceled
    - Completed
    - InProgress
    - NotStarted

### WorkTypeStepId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The work type step for which the work order step of the care program enrollee is created.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: WorkTypeStep
- **Relationship Type**: Lookup
- **Refers To**: WorkTypeStep

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

[CarePgmEnrolleeWkOrdStepChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_change_event.htm "A StandardObjectNameChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.") (API version 60.0)

Change events are available for the object.

[CarePgmEnrolleeWkOrdStepFeed](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.