/
SetNextNodeByNodeName Method

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.

Related content

SetNextNodeByLinkName Method
SetNextNodeByLinkName Method
More like this
SetCurrentNodeByNodeName Method
SetCurrentNodeByNodeName Method
More like this
Add or Delete Additional Nodes
Add or Delete Additional Nodes
More like this
Conditional Process Nodes
Conditional Process Nodes
More like this
Conditional Process Nodes
Conditional Process Nodes
More like this
Begin and End Nodes
Begin and End Nodes
More like this