Skip to content

ExecuteActivityResult

Result envelope returned by executeActivity.

body is the parsed JSON when the response is JSON and the raw text otherwise. A file response (a binary content type, or an attachment that is not JSON, XML, CSV or plain text) is a Uint8Array.

Extends

Properties

Property Type Description
body unknown Parsed JSON body when the response is JSON, raw text otherwise.
headers Record<string, string> Response headers as a flat record.
ok boolean True for HTTP 2xx responses.
page? ExecutePage Paging state of a list response. Absent when the response is not a paged list, when the connector reported its last page, or when maxRecords gathered every page. Present after a maxRecords call that stopped with records left; continuing from nextPageToken starts at the next page, so records cut from the last page read are not returned again.
status number HTTP status code from the underlying call.
statusText string HTTP status text from the underlying call.