mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
174 lines
11 KiB
JSON
174 lines
11 KiB
JSON
{
|
||
"sections": [
|
||
"title",
|
||
"description",
|
||
"fields",
|
||
"special_access_rules",
|
||
"associated_objects",
|
||
"wsdl_segment",
|
||
"field_reference"
|
||
],
|
||
"title": "ApprovalSubmissionDetail - Data API",
|
||
"description": "ApprovalSubmissionDetail contains additional information about operations happening during the approval lifecycle. It will not hold any information that’s already captured in the existing ApprovalSubmission and ApprovalWorkItem entities. This object is available in API version 62.0 and later.",
|
||
"fields_columns": [
|
||
"type",
|
||
"properties",
|
||
"description",
|
||
"relationship_name",
|
||
"refers_to",
|
||
"relationship_type"
|
||
],
|
||
"fields": {
|
||
"ActionChannelName": {
|
||
"type": "picklist",
|
||
"properties": "Filter, Group, Restricted picklist, Sort, Update",
|
||
"description": "The name of the channel where the action was performed. Valid values are: Agent: This value is available with ITSM ApprovalRecord Email InvocableAction ScreenFlow Slack System"
|
||
},
|
||
"ActionContext": {
|
||
"type": "string",
|
||
"properties": "Filter, Group, Nillable, Sort, Update",
|
||
"description": "The context of the action taken for the item assigned for approval. For example, if the approval has been reassigned the string would be Reassigned from User Id - <original_assignee_id>."
|
||
},
|
||
"ActionName": {
|
||
"type": "picklist",
|
||
"properties": "Filter, Group, Restricted picklist, Sort, Update",
|
||
"description": "The action taken for the item assigned for approval. Valid values are: Cancel Override Reassign Recall Review"
|
||
},
|
||
"ActionPerformedById": {
|
||
"type": "reference",
|
||
"properties": "Filter, Group, Nillable, Sort, Update",
|
||
"description": "The ID of the user who performed the action on the item submitted for approval. This field is a relationship field.",
|
||
"relationship_name": "ActionPerformedBy",
|
||
"refers_to": "User"
|
||
},
|
||
"ActionPerformerRole": {
|
||
"type": "picklist",
|
||
"properties": "Filter, Group, Restricted picklist, Sort, Update",
|
||
"description": "The role of the user who performed the action on the item submitted for approval. Valid values are: Admin Assignee Delegate Submitter System"
|
||
},
|
||
"ApprovalSubmissionId": {
|
||
"type": "reference",
|
||
"properties": "Filter, Group, Sort",
|
||
"description": "The approval submission that's associated with the detail record. This field is a relationship field.",
|
||
"relationship_name": "ApprovalSubmission",
|
||
"relationship_type": "Master-detail",
|
||
"refers_to": "ApprovalSubmission (the master object)"
|
||
},
|
||
"ApprovalWorkItemId": {
|
||
"type": "reference",
|
||
"properties": "Filter, Group, Nillable, Sort",
|
||
"description": "The approval assignment associated with the detail record. This field is a relationship field.",
|
||
"relationship_name": "ApprovalWorkItem",
|
||
"refers_to": "ApprovalWorkItem"
|
||
},
|
||
"Comments": {
|
||
"type": "textarea",
|
||
"properties": "Nillable, Update",
|
||
"description": "The comments that the user adds when they cancel, review, reassign or recall the request."
|
||
},
|
||
"Name": {
|
||
"type": "string",
|
||
"properties": "Autonumber, Defaulted on create, Filter, idLookup, Sort",
|
||
"description": "The sequentially-generated name of the approval submission detail record, for example ASD-000000026."
|
||
}
|
||
},
|
||
"special_access_rules": "This object is available in Enterprise, Performance, Unlimited, and Developer Editions for users with access to the Approval Submission object.\n\nThis object is available in Enterprise,\n Performance, Unlimited, and Developer Editions for users with access to the Approval\n Submission object.",
|
||
"associated_objects": "This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.\n\n- **ApprovalSubmissionDetailHistory**: History is available for tracked fields of the object.",
|
||
"wsdl_segment": "```xml\n<complexType name=\"ApprovalSubmissionDetail\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"ActionChannelName\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ActionContext\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ActionName\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ActionPerformedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"ActionPerformedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"ActionPerformerRole\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ActivityHistories\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ApprovalSubmission\" nillable=\"true\" minOccurs=\"0\" type=\"ens:ApprovalSubmission\"/>\n <element name=\"ApprovalSubmissionId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"ApprovalSubmissions\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ApprovalWorkItem\" nillable=\"true\" minOccurs=\"0\" type=\"ens:ApprovalWorkItem\"/>\n <element name=\"ApprovalWorkItemId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"ApprovalWorkItems\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"AttachedContentDocuments\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Attachments\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"CombinedAttachments\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Comments\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ContentDocumentLinks\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"CreatedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"CreatedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"CreatedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"Emails\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Events\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"FeedSubscriptionsForEntity\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Feeds\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"FlowOrchestrationWorkItems\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Histories\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"LastModifiedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"LastModifiedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"LastModifiedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"LastReferencedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"LastViewedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"LookedUpFromActivities\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"Name\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Notes\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"NotesAndAttachments\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"OpenActivities\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ProcessInstances\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"ProcessSteps\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"SystemModstamp\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"Tasks\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"UserRecordAccess\" nillable=\"true\" minOccurs=\"0\" type=\"ens:UserRecordAccess\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n<simpleType name=\"ID\">\n <restriction base=\"xsd:string\">\n <length value=\"18\"/>\n <pattern value=\"[a-zA-Z0-9]{18}\"/>\n </restriction>\n</simpleType>\n<simpleType name=\"QueryLocator\">\n <restriction base=\"xsd:string\"/>\n</simpleType>\n<complexType name=\"QueryResult\">\n <sequence>\n <element name=\"done\" type=\"xsd:boolean\"/>\n <element name=\"queryLocator\" type=\"tns:QueryLocator\" nillable=\"true\"/>\n <element name=\"records\" type=\"ens:sObject\" nillable=\"true\" minOccurs=\"0\" maxOccurs=\"unbounded\"/>\n <element name=\"size\" type=\"xsd:int\"/>\n </sequence>\n</complexType>\n```",
|
||
"field_reference": {
|
||
"ActionChannelName": {
|
||
"field_label": "Action Channel Name",
|
||
"type": "picklist",
|
||
"length": "255"
|
||
},
|
||
"ActionContext": {
|
||
"field_label": "Action Context",
|
||
"type": "string",
|
||
"length": "255"
|
||
},
|
||
"ActionName": {
|
||
"field_label": "Action Name",
|
||
"type": "picklist",
|
||
"length": "255"
|
||
},
|
||
"ActionPerformedById": {
|
||
"field_label": "User ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"ActionPerformerRole": {
|
||
"field_label": "Action Performer Role",
|
||
"type": "picklist",
|
||
"length": "255"
|
||
},
|
||
"ApprovalSubmissionId": {
|
||
"field_label": "Approval Submission ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"ApprovalWorkItemId": {
|
||
"field_label": "Approval Work Item ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"Comments": {
|
||
"field_label": "Comments",
|
||
"type": "textarea",
|
||
"length": "32000"
|
||
},
|
||
"CreatedById": {
|
||
"field_label": "Created By ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"CreatedDate": {
|
||
"field_label": "Created Date",
|
||
"type": "datetime"
|
||
},
|
||
"CurrencyIsoCode": {
|
||
"field_label": "Currency ISO Code",
|
||
"type": "picklist",
|
||
"length": "3"
|
||
},
|
||
"Id": {
|
||
"field_label": "Approval Submission Detail ID",
|
||
"type": "id",
|
||
"length": "18"
|
||
},
|
||
"IsDeleted": {
|
||
"field_label": "Deleted",
|
||
"type": "boolean"
|
||
},
|
||
"LastModifiedById": {
|
||
"field_label": "Last Modified By ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"LastModifiedDate": {
|
||
"field_label": "Last Modified Date",
|
||
"type": "datetime"
|
||
},
|
||
"LastReferencedDate": {
|
||
"field_label": "Last Referenced Date",
|
||
"type": "datetime"
|
||
},
|
||
"LastViewedDate": {
|
||
"field_label": "Last Viewed Date",
|
||
"type": "datetime"
|
||
},
|
||
"Name": {
|
||
"field_label": "Approval Submission Detail Name",
|
||
"type": "string",
|
||
"length": "255"
|
||
},
|
||
"SystemModstamp": {
|
||
"field_label": "System Modstamp",
|
||
"type": "datetime"
|
||
}
|
||
},
|
||
"field_reference_columns": [
|
||
"field_label",
|
||
"type",
|
||
"length"
|
||
]
|
||
} |