cc-everywhere

Class: ActionWorkflowContext<T>

Base context for structured messages addressed to a running action.

Extends

Extended by

Type Parameters

Type Parameter
T extends ActionContext<DesignConfig>

Constructors

Constructor

new ActionWorkflowContext<T>(context): ActionWorkflowContext<T>;

Parameters

Parameter
Type
context
T

Returns

ActionWorkflowContext<T>

Inherited from

WorkflowContext.constructor

Properties

Property
Modifier
Type
Inherited from
context
public
T
WorkflowContext.context

Methods

sendCustomMessage()

sendCustomMessage(data): void;

Sends a message to the SDK Agent to update the state of current running workflow.

Parameters

Parameter
Type
Description
data
unknown
incoming data coming from client to update the workflow. Note - Type of data is limited to what postMessage supports.

Returns

void

Inherited from

WorkflowContext.sendCustomMessage