mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-07 00:02:34 +08:00
186 lines
9.1 KiB
JSON
186 lines
9.1 KiB
JSON
{
|
||
"sections": [
|
||
"title",
|
||
"description",
|
||
"fields",
|
||
"special_access_rules",
|
||
"associated_objects",
|
||
"wsdl_segment",
|
||
"field_reference"
|
||
],
|
||
"title": "FlowTestResult - Data API",
|
||
"description": "Represents the results for a flow test associated with a flow version. This object is available in API version 55.0 and later.",
|
||
"fields_columns": [
|
||
"description",
|
||
"type",
|
||
"properties",
|
||
"relationship_name",
|
||
"relationship_type",
|
||
"refers_to"
|
||
],
|
||
"fields": {
|
||
"Error": {
|
||
"description": "Reserved for future use."
|
||
},
|
||
"FailedAssertions": {
|
||
"description": "Reserved for future use."
|
||
},
|
||
"FlowDefinitionViewId": {
|
||
"type": "string",
|
||
"properties": "Filter, Nillable, Sort",
|
||
"description": "The ID of the flow definition associated with the flow test result. This is a relationship field.",
|
||
"relationship_name": "FlowDefinitionView",
|
||
"relationship_type": "Lookup",
|
||
"refers_to": "FlowDefinitionView"
|
||
},
|
||
"FlowTestViewId": {
|
||
"type": "string",
|
||
"properties": "Filter, Nillable, Sort",
|
||
"description": "The ID of the flow test associated with the flow test result. This is a relationship field.",
|
||
"relationship_name": "FlowTestView",
|
||
"relationship_type": "Lookup",
|
||
"refers_to": "FlowTestView"
|
||
},
|
||
"FlowVersionNumber": {
|
||
"type": "int",
|
||
"properties": "Filter, Group, Nillable, Sort",
|
||
"description": "The version number for the flow."
|
||
},
|
||
"FlowVersionViewId": {
|
||
"type": "string",
|
||
"properties": "Filter, Nillable, Sort",
|
||
"description": "The ID of the flow version associated with the flow test result. This is a relationship field.",
|
||
"relationship_name": "FlowVersionView",
|
||
"relationship_type": "Lookup",
|
||
"refers_to": "FlowVersionView"
|
||
},
|
||
"Name": {
|
||
"type": "string",
|
||
"properties": "Autonumber, Defaulted on create, Filter, idLookup, Sort",
|
||
"description": "The name of the flow test result."
|
||
},
|
||
"OwnerId": {
|
||
"type": "reference",
|
||
"properties": "Filter, Group, Sort",
|
||
"description": "The ID of the user who owns this test result. This is a polymorphic relationship field.",
|
||
"relationship_name": "Owner",
|
||
"relationship_type": "Lookup",
|
||
"refers_to": "Group, User"
|
||
},
|
||
"Result": {
|
||
"type": "picklist",
|
||
"properties": "Filter, Group, Nillable, Restricted picklist, Sort",
|
||
"description": "Specifies the flow test result. Possible values are: Error Fail Pass Skip—The test run was skipped because the test doesn’t exist for that flow version. This value appears only when you trigger tests by using Salesforce CLI. This value is available in API version 66.0 and later."
|
||
},
|
||
"TestEndDateTime": {
|
||
"type": "dateTime",
|
||
"properties": "Filter, Nillable, Sort",
|
||
"description": "The date and time when the flow test ended."
|
||
},
|
||
"TestStartDateTime": {
|
||
"type": "dateTime",
|
||
"properties": "Filter, Nillable, Sort",
|
||
"description": "The date and time when the flow test started."
|
||
}
|
||
},
|
||
"special_access_rules": "To view test run details, you must have the View All Data user permission. You can view flow tests and test results without the View All Data permission.\n\nTo view test run details, you must have the View\n All Data user permission. You can view flow tests and test results without the View All\n Data permission.",
|
||
"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- **FlowTestResultShare**: Sharing is available for the object.",
|
||
"wsdl_segment": "```xml\n<complexType name=\"FlowTestResult\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\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=\"Error\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"FailedAssertions\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"FlowDefinitionView\" nillable=\"true\" minOccurs=\"0\" type=\"ens:FlowDefinitionView\"/>\n <element name=\"FlowDefinitionViewId\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"FlowTestView\" nillable=\"true\" minOccurs=\"0\" type=\"ens:FlowTestView\"/>\n <element name=\"FlowTestViewId\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"FlowVersionNumber\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:int\"/>\n <element name=\"FlowVersionView\" nillable=\"true\" minOccurs=\"0\" type=\"ens:FlowVersionView\"/>\n <element name=\"FlowVersionViewId\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\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=\"Name\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Owner\" nillable=\"true\" minOccurs=\"0\" type=\"ens:sObject\"/>\n <element name=\"OwnerId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"Result\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Shares\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"SystemModstamp\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"TestEndDateTime\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"TestStartDateTime\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\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": {
|
||
"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"
|
||
},
|
||
"Error": {
|
||
"field_label": "Error from Last Test Run",
|
||
"type": "string",
|
||
"length": "1000"
|
||
},
|
||
"FailedAssertions": {
|
||
"field_label": "Failed Assertions from Last Test Run",
|
||
"type": "string",
|
||
"length": "1000"
|
||
},
|
||
"FlowDefinitionViewId": {
|
||
"field_label": "Flow Definition View ID",
|
||
"type": "string",
|
||
"length": "512"
|
||
},
|
||
"FlowTestViewId": {
|
||
"field_label": "Flow Test View ID",
|
||
"type": "string",
|
||
"length": "512"
|
||
},
|
||
"FlowVersionNumber": {
|
||
"field_label": "Flow Version Number",
|
||
"type": "int",
|
||
"digits": "9"
|
||
},
|
||
"FlowVersionViewId": {
|
||
"field_label": "Flow Version View ID",
|
||
"type": "string",
|
||
"length": "512"
|
||
},
|
||
"Id": {
|
||
"field_label": "Flow Test Result 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"
|
||
},
|
||
"Name": {
|
||
"field_label": "Name",
|
||
"type": "string",
|
||
"length": "255"
|
||
},
|
||
"OwnerId": {
|
||
"field_label": "Owner ID",
|
||
"type": "reference",
|
||
"length": "18"
|
||
},
|
||
"Result": {
|
||
"field_label": "Result",
|
||
"type": "picklist",
|
||
"length": "255"
|
||
},
|
||
"SystemModstamp": {
|
||
"field_label": "System Modstamp",
|
||
"type": "datetime"
|
||
},
|
||
"TestEndDateTime": {
|
||
"field_label": "Test End Date and Time",
|
||
"type": "datetime"
|
||
},
|
||
"TestStartDateTime": {
|
||
"field_label": "Test Start Date and Time",
|
||
"type": "datetime"
|
||
}
|
||
},
|
||
"field_reference_columns": [
|
||
"field_label",
|
||
"type",
|
||
"length",
|
||
"digits"
|
||
]
|
||
} |