Edit in GitHubLog an issue

cc-everywhere


Class: WorkflowContext<T>

Represents the base workflow context for the SDK workflows This should be extended by all the workflow contexts like EditorContext, GenStudioContext, etc.

Extended by

Type Parameters

Type Parameter
T extends SDKContext

Constructors

Constructor

Copied to your clipboard
new WorkflowContext<T>(context): WorkflowContext<T>;

Parameters

ParameterType
context
T

Returns

WorkflowContext<T>

Properties

PropertyModifierType
context
public
T

Methods

sendCustomMessage()

Copied to your clipboard
sendCustomMessage(data): void;

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

Parameters

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

Returns

void

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.