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.
| 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 |
This read-only object shows all steps and pending approval requests associated with an approval process (ProcessInstance).
This guide only lists certain information for each object. For more information, including descriptions of the fields, see ProcessInstanceHistory in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
ActorId | Actor ID | reference | 18 | |||
Comments | Comments | string | 4000 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
ElapsedTimeInDays | Elapsed Time in Days | double | 18 | 0 | ||
ElapsedTimeInHours | Elapsed Time in Hours | double | 7 | 2 | ||
ElapsedTimeInMinutes | Elapsed Time in Minutes | double | 8 | 0 | ||
Id | Process Instance History ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
IsPending | Is Pending | boolean | ||||
OriginalActorId | Original Actor ID | reference | 18 | |||
ProcessInstanceId | Process Instance ID | reference | 18 | |||
ProcessNodeId | Process Node ID | reference | 18 | |||
RemindersSent | RemindersSent | int | 9 | |||
StepStatus | Status | picklist | 40 | |||
SystemModstamp | System Modstamp | datetime | ||||
TargetObjectId | Target Object ID | reference | 18 |