ApprovalWorkItem

Contains run-time information about each step in an approval workflow, such as assignees and their decisions regarding the object’s approval. Has a master-detail relationship with ApprovalSubmission. This object is available in API version 61.0 and later.

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

Field NameField LabelTypeDigitsLengthPrecisionScale
ApprovalChainNameApproval Chain Namestring 255  
ApprovalConditionNameApproval Condition Namestring 255  
ApprovalSubmissionIdApproval Submission IDreference 18  
AssignedToIdAssigned To IDreference 18  
CommentsCommentstextarea 32000  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
CurrencyIsoCodeCurrency ISO Codepicklist 3  
FlowOrchestrationWorkItemIdOrchestration Work Item IDreference 18  
IdApproval Work Item IDid 18  
IsAutoReviewedAuto Reviewedboolean    
IsDeletedDeletedboolean    
IsEligibleForAutoApprovalEligible For Auto-Approvalboolean    
IsEligibleForSmartApprovalEligible For Smart Approvalboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
NameApproval Work Item Namestring 255  
OwnerIdOwner IDreference 18  
ParentWorkItemIdApproval Work Item IDreference 18  
RelatedRecordIdRelated Record IDreference 18  
RelatedRecordObjectNameRelated Record Object Namestring 255  
ReviewedByIdUser IDreference 18  
ReviewedDateReviewed Datedatetime    
SmartApprovalBasisWorkItemIdApproval Work Item IDreference 18  
StatusStatuspicklist 255  
SystemModstampSystem Modstampdatetime    

Feed tracking for ApprovalWorkItem.

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

Field NameField LabelTypeDigitsLengthPrecisionScale
BestCommentIdBest Comment IDreference 18  
BodyBodytextarea 10000  
CommentCountComment Countint9   
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
IdFeed Item IDid 18  
InsertedByIdInsertedBy IDreference 18  
IsDeletedDeletedboolean    
IsRichTextIs Rich Textboolean    
LastModifiedDateLast Modified Datedatetime    
LikeCountLike Countint9   
LinkUrlLink URLurl 1000  
NetworkScopeNetwork Scopepicklist 40  
ParentIdParent IDreference 18  
RelatedRecordIdRelated Record IDreference 18  
SystemModstampSystem Modstampdatetime    
TitleTitlestring 255  
TypeFeed Item Typepicklist 40  
VisibilityVisibilitypicklist 40  

History for tracked fields of ApprovalWorkItem.

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

Field NameField LabelTypeDigitsLengthPrecisionScale
ApprovalWorkItemIdApproval Work Item IDreference 18  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
FieldChanged Fieldpicklist 255  
IdApproval Work Item History IDid 18  
IsDeletedDeletedboolean    
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  

Sharing for ApprovalWorkItem.

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

Field NameField LabelTypeDigitsLengthPrecisionScale
AccessLevelCustom Object Accesspicklist 40  
IdCustom Object Share IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
ParentIdParent IDreference 18  
RowCauseRow Causepicklist 40  
UserOrGroupIdUser/Group IDreference 18