Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.ApprovalAttachment

Attach an approval to a feed item.

This class isn’t available in version 32.0 and later. In version 32.0 and later, ConnectApi.ApprovalCapability is used.

Important

Subclass of ConnectApi.FeedItemAttachment.

Name Type Description Available Version
id String A work item ID. 28.0–31.0
postTemplateFields List <ConnectApi.​Approval​Post​Template​Field> Collection of approval post template fields 28.0–31.0
process​InstanceStepId String An approval step ID. 30.0–31.0
status ConnectApi.​WorkflowProcess​Status Enum Status of a workflow process.
  • Approved
  • Fault
  • Held
  • NoResponse
  • Pending
  • Reassigned
  • Rejected
  • Removed
  • Started
28.0–31.0