---
schema_version: "1"
id: baa970848e4a800eb0e853f7e96adcd53f1311ab3a9d6c42db46fdc6c3413fdd
title: ConnectApi.ApprovalCapability
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_approval_capability.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_approval_capability.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d5a026d7ccf90cef7ef6cbf3d8b9a10e921310acf21632fc0fabbd79f08aab66
description: If a feed element has this capability, it includes information about an approval.
---
# ConnectApi.ApprovalCapability

If a feed element has this capability, it includes information about an approval.

Subclass of [ConnectApi.FeedElementCapability](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element_capability.htm "A feed element capability, which defines the characteristics of a feed element.").

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| id | String | The work item ID. The work item ID is null if there isn’t a pending work item associated with the approval record. | 32.0 |
| postTemplate​Fields | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[ConnectApi.​ApprovalPost​TemplateField](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_approval_post.htm#apex_connectapi_output_approval_post "Approval post template field.")\> | The details of the approval post template field. | 32.0 |
| processInstance​StepId | String | The process instance step ID. The associated record represents one step in an approval process. | 32.0 |
| status | [ConnectApi.​WorkflowProcess​Status](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#WorkflowStatusEnum) | The status of the approval. | 32.0 |

#### See Also

- [ConnectApi.FeedElementCapabilities](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element_capabilities.htm "A container for all capabilities that can be included with a feed element.")