| CallbackStatus |
- Type
- picklist
- Properties
- Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- Description
- The status of the callback for asynchronous invocations. This field is new
in API version 52.0.
- Possible values are:
-
Completed - Not used for the
Salesforce Functions beta.
-
Enqueued - The Function has
completed (either successfully or unsuccessfully), and the callback has
been enqueued for asynchronous execution in the Salesforce org.
-
Failed - Not used for the
Salesforce Functions beta.
-
PendingResponse - The Function has
not yet completed, so the callback has not been called yet.
- The default value is 'PendingResponse'.
|
| ExecutionTime |
- Type
- long
- Properties
- Filter, Group, Nillable, Sort, Update
- Description
- The execution time of the Function in milliseconds.
|
| ExtendedResponse |
- Type
- textarea
- Properties
- Nillable, Update
- Description
- JSON object with additional information about the result of the Function
execution.
|
| FunctionName |
- Type
- string
- Properties
- Filter, Group, idLookup, Sort
- Description
- Name of the Function that was invoked. This name is case-sensitive and
uses the format “project name-function
name”
|
| OwnerId |
- Type
- reference
- Properties
- Filter, Group, Sort, Update
- Description
- The owner of the FunctionInvocationRequest.
- This is a polymorphic relationship field.
- Relationship Name
- Owner
- Relationship Type
- Lookup
- Refers To
- Group, User
|
| ResponseBody |
- Type
- base64
- Properties
- Nillable, Update
- Description
- Response body of the invoked Function.
|
| ResponseContentType |
- Type
- picklist
- Properties
- Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description
- Content type of the response body of the invoked Function. For example,
the content type could be application/json, text/csv,
or various other values depending on what the Function returned.
|
| ResponseLength |
- Type
- int
- Properties
- Filter, Group, Nillable, Sort
- Description
- Length of the response body.
|
| ResponseName |
- Type
- string
- Properties
- Filter, Group, Nillable, Sort, Update
- Description
- Name of response, not currently used.
|
| ResponseUncompressedLength |
- Type
- int
- Properties
- Filter, Group, Nillable, Sort, Update
- Description
- Uncompressed length of the Function response, if the response content was
compressed.
|
| StackTrace |
- Type
- textarea
- Properties
- Nillable, Update
- Description
- If there was an error invoking the function, this field contains the
Function stack trace.
|
| Status |
- Type
- picklist
- Properties
- Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- Description
- Status of the invoked Function. Functions that are invoked asynchronously
can be in a queued InProgress state
before they are invoked.
- Possible values are:
-
Dispatched - Not used for the
Salesforce Functions beta.
-
Error - The Function failed to
execute due to either an error starting the Function, or an error while
the Function was running.
-
FunctionInProgress - The Function
invocation has been sent to the Salesforce Functions compute environment,
and is running.
-
InProgress - The Function
invocation request has been enqueued.
-
New - The Function invocation
request has been created, but not enqueued yet.
-
Success - The Function has
completed execution. For status on whether the callback has been called,
see the CallbackStatus field.
- The default value is 'New'.
|