Skip to main content

ActionPerformDataReturn

@prismatic-io/spectral"types/ActionPerformReturn"ActionPerformDataReturn

Used to represent a binary or serialized data return as content type must be specified

Type parameters#

ReturnData

Hierarchy#

Index#

Properties#

Properties#

Optional contentType#

contentType? : undefined | string

Defined in packages/spectral/src/types/ActionPerformReturn.ts:6

The Content Type of the payload data


Optional crossFlowState#

crossFlowState? : Record‹string, unknown›

Defined in packages/spectral/src/types/ActionPerformReturn.ts:12

An optional object, the keys and values of which will be persisted in the crossFlowState and available in any flow for subsequent actions and executions


data#

data: ReturnData

Defined in packages/spectral/src/types/ActionPerformReturn.ts:4

Data payload containing data of the specified contentType


Optional error#

error? : Record‹string, unknown›

Defined in packages/spectral/src/types/ActionPerformReturn.ts:18

A field populated by the Prismatic platform which may refer to an object that contains data about any error that resulted in failure.


Optional executionState#

executionState? : Record‹string, unknown›

Defined in packages/spectral/src/types/ActionPerformReturn.ts:14

An optional object, the keys and values of which will be persisted in the executionState and available for the duration of the execution


Optional failed#

failed? : undefined | false | true

Defined in packages/spectral/src/types/ActionPerformReturn.ts:16

A field populated by the Prismatic platform which indicates whether the trigger failed with an error during execution.


Optional instanceState#

instanceState? : Record‹string, unknown›

Defined in packages/spectral/src/types/ActionPerformReturn.ts:10

An optional object, the keys and values of which will be persisted in the flow-specific instanceState and available for subsequent actions and executions


Optional statusCode#

statusCode? : undefined | number

Defined in packages/spectral/src/types/ActionPerformReturn.ts:8

The HTTP Status code that will be used if this terminates a synchronous invocation