SetNextNodeByNodeName Method

Sets the next node by name.

public void SetNextNodeByNodeName(string name);

Classes: CustomNode


Parameters

value string

Name of the node that will be next.


Example

The following example demonstrates setting the next node to a node named "End".

SetNextNodeByNodeName("End");

Remarks

If your node is multi-out and has zero or multiple drawn links, your process will error unless your custom node code selects a next node using either this method, or the SetNextNodeByLinkName Method method. If your multi-out node has a single link drawn, that link will be automatically followed if no other node is selected as next.