Syntax
setNextNode(nodeId, flowId)
Description
Sets a custom Node with the givennodeId to be executed immediately after the current one.This function is used by If and Lookup Nodes to select child Nodes based on their configuration. Call
setNextNode(childNodeId) before returning to continue execution at that child Node.
The target Node must be available as an Entrypoint in the Flow.
Parameters:
nodeId:stringโ the Node ID.flowId:stringโ the ID of the Flow containing the target Node. This parameter is optional and required if the target Node is in a different Flow.
void