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 pattern | New pattern |
|---|---|
flowcomplete → keelstoneSync → KEELSTONE_INSERT | KEELSTONE_INSERT |
flowcomplete → keelstoneSync → KEELSTONE_WRITE | KEELSTONE_WRITE |
flowcomplete with query results | KEELSTONE_WRITE |
See the Events Overview for the current message protocol.