Skip to main content

flowcomplete (Deprecated)

Deprecated

The flowcomplete event was part of the relay architecture that used keelstoneSync as a bridge between LWC components and the taskpane. That architecture has been replaced by direct window.parent.postMessage communication. Do not use this event in new components.

What it was

flowcomplete was a CustomEvent fired by queryBuilderLwc (and other legacy components) to signal that a flow step was complete and carry its payload back to the relay. The relay (keelstoneSync) would then forward the message to the taskpane.

What to use instead

Fire window.parent.postMessage directly with the appropriate KEELSTONE_* message type:

Old patternNew pattern
flowcomplete → keelstoneSync → KEELSTONE_INSERTKEELSTONE_INSERT
flowcomplete → keelstoneSync → KEELSTONE_WRITEKEELSTONE_WRITE
flowcomplete with query resultsKEELSTONE_WRITE

See the Events Overview for the current message protocol.