External Cross-Org Callout Event Type

External Cross-Org Callout events represent external data callouts via the cross-org adapter for Salesforce Connect. This event type is available in the EventLogFile object in API version 40.0 and later.

For details about event monitoring, see the Trailhead Event Monitoring module or REST API Developer Guide.

For the cross-org adapter for Salesforce Connect, event monitoring currently doesn’t track search callouts.

Note

Fields

Field Details
ACTION
Type
String
Description
Action performed by the callout.
Possible Values
  • query
  • upsert
  • delete
ENTITY
Type
String
Description
Name of the external object being accessed.
Example
Order
EVENT_TYPE
Type
String
Description
Type of event. Value is always ExternalCrossOrgCallout.
EXECUTE_MS
Type
Number
Description
How long it took (in milliseconds) for Salesforce to prepare and execute the query. Available in API version 42.0 and later.
Example
1
FETCH_MS
Type
Number
Description
How long it took (in milliseconds) to retrieve the query results from the external system. Available in API version 42.0 and later.
Example
452
FILTER
Type
Text
Description
Field expressions to filter which rows to return. Corresponds to WHERE in SOQL queries.
Example
WHERE CustomerId='123456'
HAVING
Type
Text
Description
Reserved for future use.
LIMIT
Type
Number
Description
Maximum number of rows to return for a query. Corresponds to LIMIT in SOQL queries.
Example
200
MESSAGE
Type
String
Description
Error or warning message associated with the failed query callout. Value is always empty for upsert and delete callouts.
Example
System.UnexpectedException: Query is either selecting too many fields or the filter conditions are too complicated
OFFSET
Type
Number
Description
Number of rows to skip when paging through a result set.

Corresponds to OFFSET in SOQL queries. If a SOQL query doesn’t define an OFFSET, the value is -1.

Example
0 (default)
ORDERBY
Type
String
Description
Field or column to use for sorting query results, and whether to sort the results in ascending (default) or descending order. Corresponds to ORDER BY in SOQL queries.
Examples
  • ORDER BY ShipName
  • ORDER BY ShipName DESC
ORGANIZATION_ID
Type
Id
Description
15-character ID of the organization.
Example
00D000000000123
REQUEST_ID
Type
String
Description
Unique ID of a transaction. A transaction can contain one or more events. All events in a transaction have the same REQUEST_ID.
Example
4A13-HSKv3CKs-0FKfceaV
ROWS
Type
Number
Description
Total number of records in the result set. Value is always 0 for upsert and delete callouts.
Example
200
ROWS_FETCHED
Type
Number
Description
Reserved for future use.
SELECT
Type
String
Description
Comma-separated list of fields being queried. Corresponds to SELECT in SOQL queries.
Example
SELECT Id,Name,CustomerID,OrderDate
STATUS
Type
Boolean
Description
Whether the query was successful. Value is always empty for upsert and delete callouts.
Possible Values
  • 1—Success
  • 0—Failed
SUBQUERIES
Type
Number
Description
The number of subqueries that the query is split into.
THROUGHPUT
Type
Number
Description
Reserved for future use.
TIMESTAMP
Type
String
Description
The access time of Salesforce services in GMT.
For example: 20130715233322.670.
TIMESTAMP_DERIVED
Type
DateTime
Description
The access time of Salesforce services in ISO8601-compatible format (YYYY-MM-DDTHH:MM:SS.sssZ).
For example: 2015-07-27T11:32:59.555Z. Timezone is GMT.
TOTAL_MS
Type
Number
Description
How long it took (in milliseconds) to prepare and execute the query and to retrieve the query results.
Example
453
USER_ID
Type
Id
Description
15-character ID of the user accessing the external system.
Example
00530000009M943
USING_MRU
Type
Boolean
Description
Reserved for future use.