ProcessInstanceStep
Represents individual steps within a process instance, tracking approvals and actions taken.
Columns
| Name | Type | References | Description |
| Id [KEY] | String | Unique identifier for the process instance step record. | |
| ProcessInstanceId | String | Identifier of the process instance to which this step belongs. | |
| StepStatus | String | Current status of the step within the approval process, such as Pending or Approved. | |
| OriginalActorId | String | Identifier of the original user or group assigned to complete this step. | |
| OriginalActorIdType | String | Specifies the type of the 'OriginalActorId' polymorphic field to use in the statement. | |
| OriginalActorIdExternalFieldName | String | Specifies the external field name of the 'OriginalActorId' polymorphic field to use in an INSERT/UPDATE/UPSERT statement | |
| ActorId | String | Identifier of the actual user or group responsible for acting on this step. | |
| ActorIdType | String | Specifies the type of the 'ActorId' polymorphic field to use in the statement. | |
| ActorIdExternalFieldName | String | Specifies the external field name of the 'ActorId' polymorphic field to use in an INSERT/UPDATE/UPSERT statement | |
| Comments | String | Comments or notes added by the actor during completion of the step. | |
| StepNodeId | String |
ProcessNode.Id | Identifier of the process node representing this step in the approval process definition. |
| ElapsedTimeInDays | Double | Field containing ElapsedTimeInDays information. | |
| ElapsedTimeInHours | Double | Field containing ElapsedTimeInHours information. | |
| ElapsedTimeInMinutes | Double | Field containing ElapsedTimeInMinutes information. | |
| CreatedById | String |
User.Id | Identifier of the user who created the process instance step. |
| SOQL | String | Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. | |
| ExternalIdColumn | String | Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. | |
| FilterScope | String | Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. | |
| SystemModstamp | Datetime | System-generated timestamp indicating the most recent update to this step. | |
| CreatedDate | Datetime | Date and time when this process step was created. |