cc-everywhere

Class: QuickActionContextImpl<T>

Stateless capability facade over the launched ActionContext. Lifetime and request queues remain owned by the action's internal WorkflowContext.

Hidden

Extends

Type Parameters

Type Parameter
T extends DesignConfig

Implements

Constructors

Constructor

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

Parameters

Parameter
Type
context
ActionContext

Returns

QuickActionContextImpl<T>

Inherited from

ActionWorkflowContext.constructor

Properties

Property
Modifier
Type
Inherited from
context
public
ActionContext
ActionWorkflowContext.context

Methods

showToast()

showToast(type, message): void;

Requests a notification without waiting for a display acknowledgement.

Parameters

Parameter
Type
type
ToastType
message
string

Returns

void

Implementation of

QuickActionContext.showToast

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

ActionWorkflowContext.sendCustomMessage