Skip to main content

ActionContext

@prismatic-io/spectral"types/ActionPerformFunction"ActionContext

Context provided to perform method containing helpers and contextual data

Hierarchy#

  • ActionContext

Index#

Properties#

Properties#

crossFlowState#

crossFlowState: Record‹string, unknown›

Defined in packages/spectral/src/types/ActionPerformFunction.ts:27

A key/value store that is shared between flows on an Instance that may be used to store small amounts of data that is persisted between Instance executions


customer#

customer: Customer

Defined in packages/spectral/src/types/ActionPerformFunction.ts:43

Contains attributes of the Customer for whom an Instance is being executed.


executionId#

executionId: string

Defined in packages/spectral/src/types/ActionPerformFunction.ts:35

A unique id that corresponds to the specific execution of the Integration


executionState#

executionState: Record‹string, unknown›

Defined in packages/spectral/src/types/ActionPerformFunction.ts:29

A key/value store that may be used to store small amounts of data for use later during the execution


instance#

instance: Instance

Defined in packages/spectral/src/types/ActionPerformFunction.ts:45

Contains attributes of the Instance that is being executed.


instanceState#

instanceState: Record‹string, unknown›

Defined in packages/spectral/src/types/ActionPerformFunction.ts:25

A a flow-specific key/value store that may be used to store small amounts of data that is persisted between Instance executions


integrationState#

integrationState: Record‹string, unknown›

Defined in packages/spectral/src/types/ActionPerformFunction.ts:31

A key/value store that is shared between all flows of an Instance for any version of an Integration that may be used to store small amounts of data that is persisted between Instance executions


invokeUrl#

invokeUrl: string

Defined in packages/spectral/src/types/ActionPerformFunction.ts:41

The URL used to invoke the current execution


logger#

logger: ActionLogger

Defined in packages/spectral/src/types/ActionPerformFunction.ts:23

Logger for permanent logging; console calls are also captured


stepId#

stepId: string

Defined in packages/spectral/src/types/ActionPerformFunction.ts:33

A unique id that corresponds to the step on the Integration


webhookApiKeys#

webhookApiKeys: Record‹string, string[]›

Defined in packages/spectral/src/types/ActionPerformFunction.ts:39

An object containing webhook API keys for all flows of the currently running instance


webhookUrls#

webhookUrls: Record‹string, string›

Defined in packages/spectral/src/types/ActionPerformFunction.ts:37

An object containing webhook URLs for all flows of the currently running instance