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.

ProcessInstance

Represents an instance of a single, end-to-end approval process. Use this and the node, step, and workitem process instance objects to create approval history reports.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see ProcessInstance in the Object Reference for the Salesforce Platform.

Fields

Field Name Field Label Type Digits Length Precision Scale
CompletedDate Completed Date datetime
CreatedById Created By ID reference 18
CreatedDate Created Date datetime
ElapsedTimeInDays Elapsed Time in Days double 7 3
ElapsedTimeInHours Elapsed Time in Hours double 7 2
ElapsedTimeInMinutes Elapsed Time in Minutes double 8 0
Id Process Instance ID id 18
IsDeleted Deleted boolean
LastActorId User ID reference 18
LastModifiedById Last Modified By ID reference 18
LastModifiedDate Last Modified Date datetime
ProcessDefinitionId Approval Process ID reference 18
Status Status picklist 40
SubmittedById User ID reference 18
SystemModstamp System Modstamp datetime
TargetObjectId Target Object ID reference 18