Skip to main content

TriggerBaseResult

@prismatic-io/spectral"types/TriggerResult"TriggerBaseResult

Represents the result of a Trigger action.

Type parameters

TPayload: TriggerPayload

Hierarchy

Index

Properties

Properties

Optional crossFlowState

crossFlowState? : Record‹string, unknown›

Defined in packages/spectral/src/types/TriggerResult.ts:13

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


Optional error

error? : Record‹string, unknown›

Defined in packages/spectral/src/types/TriggerResult.ts:21

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/TriggerResult.ts:15

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/TriggerResult.ts:19

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/TriggerResult.ts:11

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 integrationState

integrationState? : Record‹string, unknown›

Defined in packages/spectral/src/types/TriggerResult.ts:17

An optional object, the keys and values of which will be persisted in the integrationState and available in any flow of an Instance for any version of an Integration for subsequent actions and executions


payload

payload: TPayload

Defined in packages/spectral/src/types/TriggerResult.ts:7

The payload in the request that invoked the Integration, which is returned as a result for later use.


Optional response

response? : HttpResponse

Defined in packages/spectral/src/types/TriggerResult.ts:9

Optional HTTP response to the request that invoked the integration.