Object Reference for the Salesforce Platform
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.
ProcessInstanceStep
Exceptions apply to approval history data retrieved with this object and are available only via SOAP API. For each approval process instance that was pending when Summer '14 became available for your organization, some field values are never populated or are populated only after the rollout. Other fields are populated only after the approval process instance is next acted upon—such as when a user approves, rejects, or reassigns an approval request—after the Summer '14 rollout.
Note
ProcessInstanceStep fields are never populated for approval process instances that were completed before the Summer '14 rollout. For approval process instances that were pending during the Summer '14 rollout, all ProcessInstanceStep fields are populated only after the approval process instance is next acted upon after the Summer '14 rollout.
Supported Calls
describeSObjects(), query(), retrieve()
Fields
| Field | Details |
|---|---|
| ActorId |
|
| Comments |
|
| ElapsedTimeInDays |
|
| ElapsedTimeInHours |
|
| ElapsedTimeInMinutes |
|
| OriginalActorId |
|
| ProcessInstanceId |
|
| StepNodeId |
|
| StepStatus |
|
Usage
Query or retrieve a new step in an approval process (ProcessInstance).
Associated Objects
This object has the following associated objects. Unless noted, they’re available in the same API version as this object.
- ProcessInstanceStepChangeEvent (API Version 58.0)
- Change events are available for the object.